Browse Source

Fix exit status preservation for non-X sessions

Alois Mahdal 10 years ago
parent
commit
930890849f
1 changed files with 4 additions and 0 deletions
  1. 4
    0
      dotfiles/bash/post.bashrc

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

83
         trap show_command_in_title_bar DEBUG
83
         trap show_command_in_title_bar DEBUG
84
         ;;
84
         ;;
85
 
85
 
86
+    *)
87
+        PROMPT_COMMAND='__save_rv $?;'
88
+        ;;
89
+
86
 esac
90
 esac