diff options
author | Sean Whitton <spwhitton@spwhitton.name> | 2017-01-05 15:23:29 -0700 |
---|---|---|
committer | Sean Whitton <spwhitton@spwhitton.name> | 2017-01-05 15:23:29 -0700 |
commit | e6cf4e14ff5e8f880e9aacbf32fff6af58405177 (patch) | |
tree | ab5bd29299d802582352ccc3998fd13c7eef872f /.shenv | |
parent | 96049de886e5a9d5f64bea2f5142ea6d655fc174 (diff) | |
download | dotfiles-e6cf4e14ff5e8f880e9aacbf32fff6af58405177.tar.gz |
.shenv needs +e
Otherwise it breaks when called by bstraph.sh as set -e gets inherited.
Diffstat (limited to '.shenv')
-rwxr-xr-x | .shenv | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -3,6 +3,9 @@ # Environment variables for X and all text-mode shells: both bash and # zsh and scripts run by cron source this. So POSIX only. +# We have calls to `which` which we expect to fail +set +e + # ---- choose editor depending on what's available emacsclient=$(which emacsclient 2>/dev/null) |