summaryrefslogtreecommitdiff
path: root/accounts/gkleen@sif
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2021-01-03 22:37:27 +0100
committerGregor Kleen <gkleen@yggdrasil.li>2021-01-03 22:37:27 +0100
commit5f21ebc0d3539276ccee967dd510e7aba8b31c0c (patch)
treebd29c23d4031f1161e704d1d7fc5aa901c38be12 /accounts/gkleen@sif
parentd48742861083f37c670447ca98fb43490531be80 (diff)
downloadnixos-5f21ebc0d3539276ccee967dd510e7aba8b31c0c.tar
nixos-5f21ebc0d3539276ccee967dd510e7aba8b31c0c.tar.gz
nixos-5f21ebc0d3539276ccee967dd510e7aba8b31c0c.tar.bz2
nixos-5f21ebc0d3539276ccee967dd510e7aba8b31c0c.tar.xz
nixos-5f21ebc0d3539276ccee967dd510e7aba8b31c0c.zip
zsh customization
Diffstat (limited to 'accounts/gkleen@sif')
-rw-r--r--accounts/gkleen@sif/zshrc12
1 files changed, 0 insertions, 12 deletions
diff --git a/accounts/gkleen@sif/zshrc b/accounts/gkleen@sif/zshrc
index f095ee21..993fb94a 100644
--- a/accounts/gkleen@sif/zshrc
+++ b/accounts/gkleen@sif/zshrc
@@ -383,18 +383,6 @@ alias -g G='| grep'
383alias -g B='&> /dev/null &' 383alias -g B='&> /dev/null &'
384alias -g BB='&> /dev/null &!' 384alias -g BB='&> /dev/null &!'
385 385
386fancy-ctrl-z () {
387 emulate -LR zsh
388 if [[ $#BUFFER -eq 0 ]]; then
389 [[ -n $(jobs -s) ]] && bg
390 zle redisplay
391 else
392 zle push-input
393 fi
394}
395zle -N fancy-ctrl-z
396bindkey '^Z' fancy-ctrl-z
397
398export DEFAULT_USER=gkleen 386export DEFAULT_USER=gkleen
399export EDITOR=emacsclient 387export EDITOR=emacsclient
400 388