Ver código fonte

Fix exit status preservation for non-X sessions

Alois Mahdal 10 anos atrás
pai
commit
930890849f
1 arquivos alterados com 4 adições e 0 exclusões
  1. 4
    0
      dotfiles/bash/post.bashrc

+ 4
- 0
dotfiles/bash/post.bashrc Ver arquivo

@@ -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