From 779f6a00131c06d8fa3e9e66825a02d4bbb4f176 Mon Sep 17 00:00:00 2001 From: Urbain Vaes Date: Sun, 18 Oct 2020 11:42:30 +0100 Subject: Minor change --- zsh/.zshrc | 18 ++++++------------ 1 file changed, 6 insertions(+), 12 deletions(-) (limited to 'zsh') diff --git a/zsh/.zshrc b/zsh/.zshrc index 1cc4d4b..58b84bf 100644 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -1,7 +1,6 @@ -## startx automatically {{{ +## startx automatically {{{1 [[ -z $DISPLAY && -z $SSH_CONNECTION && $XDG_VTNR -eq 1 ]] && exec startx -# }}} -## Bindings {{{ +## Bindings {{{1 # Load fzf bindings here because we will override ^r [ -f ~/.fzf.zsh ] && source ~/.fzf.zsh @@ -26,8 +25,7 @@ bindkey '^r' history-incremental-search-backward autoload -z edit-command-line zle -N edit-command-line bindkey -M vicmd '^W' edit-command-line -# }}} -## Options and modules {{{ +## Options and modules {{{1 KEYTIMEOUT=1 @@ -83,8 +81,7 @@ bindkey '^z' z ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE='fg=6' -# }}} -## Use fzf with z {{{ +## Use fzf with z {{{1 unalias z 2> /dev/null z() { @@ -94,8 +91,7 @@ z() { } zle -N z -# }}} -## Colors {{{ +## Colors {{{1 [[ -f $HOME/.local/colors.zsh ]] && source $HOME/.local/colors.zsh @@ -140,8 +136,7 @@ function show256 { done } -# }}} -## Aliases {{{ +## Aliases {{{1 # Directories alias cdd='cd ~/dotfiles' @@ -199,4 +194,3 @@ alias sysvpn="systemctl restart openvpn-client@ic.service" # Directories alias ..="cd .." alias ...="cd ../.." -# }}} -- cgit v1.2.3