Skip to content

Commit

Permalink
ensure history -a is always in the prompt command (#383)
Browse files Browse the repository at this point in the history
  • Loading branch information
trxcllnt committed Aug 23, 2024
1 parent 5b24f77 commit 6fac4bf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion features/src/utils/.bashrc
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
export PYTHONSAFEPATH="${PYTHONSAFEPATH:-1}";

# Append history lines as soon as they're entered
export PROMPT_COMMAND="${PROMPT_COMMAND:-}";
export PROMPT_COMMAND="${PROMPT_COMMAND:-history -a}";

if test -n "${PROMPT_COMMAND##*"history -a"*}"; then
export PROMPT_COMMAND="history -a; $PROMPT_COMMAND";
Expand Down
2 changes: 1 addition & 1 deletion features/src/utils/devcontainer-feature.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "devcontainer-utils",
"id": "utils",
"version": "24.10.1",
"version": "24.10.2",
"description": "A feature to install RAPIDS devcontainer utility scripts",
"containerEnv": {
"BASH_ENV": "/etc/bash.bash_env"
Expand Down

0 comments on commit 6fac4bf

Please sign in to comment.