diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2011-07-02 17:53:08 -0400 |
---|---|---|
committer | Luke Shumaker <LukeShu@sbcglobal.net> | 2011-07-02 17:53:08 -0400 |
commit | f33eab7bb05978f0402d1f8238ab2985498c7137 (patch) | |
tree | f127db8156111d962e143826158335eb02f379bb | |
parent | 9afd4dee76a0b1f195b614498351389e63dc2077 (diff) |
Handle errors more intelligently
-rw-r--r-- | .bashrc | 10 | ||||
-rw-r--r-- | .profile | 2 | ||||
-rw-r--r-- | Makefile | 2 |
3 files changed, 8 insertions, 6 deletions
@@ -97,7 +97,9 @@ if [ -f /etc/bash_completion ]; then . /etc/bash_completion fi -export TMPDIR="$HOME/tmp" -daemon emacs --daemon -daemon sysfiles -daemon maildirproc +if [ "$TERM" != dumb ]; then + export TMPDIR="$HOME/tmp" + daemon emacs --daemon + daemon sysfiles + daemon maildirproc +fi @@ -30,4 +30,4 @@ if [ -f "$HOME/.selected_editor" ]; then export VISUAL="${VISUAL:-$SELECTED_EDITOR}" fi -alsactl --file $HOME/.alsa.save restore +alsactl --file $HOME/.alsa.save restore &> /dev/null || true @@ -7,7 +7,7 @@ clean: rm -f $(targets) .alsa.save: FORCE - -alsactl --file $(HOME)/.alsa.save store + alsactl --file $(HOME)/.alsa.save store || touch '$@' .nanorc: .nanorc.in $(NANO_SHARE) cat '$<' > '$@' |