Răsfoiți Sursa

Fix bash prompt settings clobbering `z`

Also remove executable flag from `directories.sh`.
Weiyi Lou 9 ani în urmă
părinte
comite
0c82ed4857
2 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  1. 1 1
      shell/bash/prompt.bash
  2. 0 0
      shell/common/directories.sh

+ 1 - 1
shell/bash/prompt.bash

@@ -5,7 +5,7 @@
 #
 #
 PROMPT_COMMAND='PS1="
 PROMPT_COMMAND='PS1="
 ${FG[6]}[\h]  ${FG[3]}$(shortcwd)$(__gitp "  %s")$(getajob)
 ${FG[6]}[\h]  ${FG[3]}$(shortcwd)$(__gitp "  %s")$(getajob)
-${FG[5]}\u - $cReset"'
+${FG[5]}\u - $cReset";'$PROMPT_COMMAND
 
 
 # Display suspended/backgrounded job count, if any.
 # Display suspended/backgrounded job count, if any.
 function getajob() {
 function getajob() {

+ 0 - 0
shell/common/directories.sh