diff options
Diffstat (limited to '')
-rw-r--r-- | home/nipsy/common/core/zsh/zshrc | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/home/nipsy/common/core/zsh/zshrc b/home/nipsy/common/core/zsh/zshrc index cd857e3..5c72aad 100644 --- a/home/nipsy/common/core/zsh/zshrc +++ b/home/nipsy/common/core/zsh/zshrc @@ -41,15 +41,19 @@ setopt LONG_LIST_JOBS NO_HUP # zle options setopt NO_BEEP +# menu completion zstyle ':completion:*' menu select=5 +# vi keybindings and settings bindkey -v export KEYTIMEOUT=1 - autoload -U edit-command-line zle -N edit-command-line bindkey -M vicmd v edit-command-line +# useful helper functions +function nix-file-list { find $(nix build ${1} --print-out-paths --no-link) } + # always open tmux if interactive [[ $- != *i* ]] && return #[[ -z "$TMUX" ]] && (tmux -2 new-session -t default \; new-window || tmux -2 new-session -s default) |