Explorar el Código

Fix exit status preservation for non-X sessions

Alois Mahdal hace 10 años
padre
commit
930890849f
Se han modificado 1 ficheros con 4 adiciones y 0 borrados
  1. 4
    0
      dotfiles/bash/post.bashrc

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

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