diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2017-01-08 13:34:14 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2017-01-08 13:34:14 +1300 |
commit | b1f48a6bf11c24672edafdd05eedac5e87c9e925 (patch) | |
tree | ff94ed33e343f71c32b637e0c4583ad1be129a61 /X | |
parent | Add keys to fire up a ksh/zsh window (diff) | |
download | dotfiles-b1f48a6bf11c24672edafdd05eedac5e87c9e925.tar.gz dotfiles-b1f48a6bf11c24672edafdd05eedac5e87c9e925.zip |
Reset working dir and SHLVL for xbindkeys
Otherwise it starts terminals with SHLVL incremented or in whatever dir
I ran x() in
Diffstat (limited to 'X')
-rw-r--r-- | X/xinitrc.d/xbindkeys.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/X/xinitrc.d/xbindkeys.sh b/X/xinitrc.d/xbindkeys.sh index a21bd995..b50f5c60 100644 --- a/X/xinitrc.d/xbindkeys.sh +++ b/X/xinitrc.d/xbindkeys.sh @@ -1,3 +1,3 @@ # Start xbindkeys(1) command -v xbindkeys >/dev/null 2>&1 || return -xbindkeys -n & +(cd -- "$HOME" && SHLVL= xbindkeys -n) & |