Sfoglia il codice sorgente

Fix exit status preservation for non-X sessions

Alois Mahdal 10 anni fa
parent
commit
930890849f
1 ha cambiato i file con 4 aggiunte e 0 eliminazioni
  1. 4
    0
      dotfiles/bash/post.bashrc

+ 4
- 0
dotfiles/bash/post.bashrc Vedi File

@@ -83,4 +83,8 @@ case "$TERM" in
83 83
         trap show_command_in_title_bar DEBUG
84 84
         ;;
85 85
 
86
+    *)
87
+        PROMPT_COMMAND='__save_rv $?;'
88
+        ;;
89
+
86 90
 esac