summaryrefslogtreecommitdiff
path: root/.bashrc
diff options
context:
space:
mode:
Diffstat (limited to '.bashrc')
-rw-r--r--.bashrc2
1 files changed, 1 insertions, 1 deletions
diff --git a/.bashrc b/.bashrc
index b3029db..d52ef93 100644
--- a/.bashrc
+++ b/.bashrc
@@ -17,7 +17,7 @@ shell_var_fix() {
fi
# Don't ever run this function again
- export PROMPT_COMMAND="${PROMPT_COMMAND#shell_var_fix;}"
+ export PROMPT_COMMAND="${PROMPT_COMMAND/shell_var_fix;/}"
unset -f shell_var_fix
}
# This has a second purpose, to reset PROMPT_COMMAND, since subshells would