diff --git a/git/gitconfig.symlink b/git/gitconfig.symlink index 15ed8cb..268ee95 100644 --- a/git/gitconfig.symlink +++ b/git/gitconfig.symlink @@ -20,3 +20,5 @@ [alias] tree = log --oneline --decorate --all --graph pulls = !git pull && git submodule init && git submodule update && git submodule status +[status] + submodulesummary = true diff --git a/git/gitconfig.symlink b/git/gitconfig.symlink index 15ed8cb..268ee95 100644 --- a/git/gitconfig.symlink +++ b/git/gitconfig.symlink @@ -20,3 +20,5 @@ [alias] tree = log --oneline --decorate --all --graph pulls = !git pull && git submodule init && git submodule update && git submodule status +[status] + submodulesummary = true diff --git a/zsh/zshrc.symlink b/zsh/zshrc.symlink index e4b843e..4d39747 100644 --- a/zsh/zshrc.symlink +++ b/zsh/zshrc.symlink @@ -16,6 +16,7 @@ # Init autocomplete autoload -U compinit compinit +zstyle ':completion:*' menu select # History HISTFILE=~/.zsh_history @@ -59,6 +60,9 @@ # Rebind the delete key. bindkey '\e[3~' delete-char +# Enable reverse search +bindkey '^R' history-incremental-pattern-search-backward + # make less more friendly for non-text input files, see lesspipe(1) [ -x /usr/bin/lesspipe ] && eval "$(SHELL=/bin/sh lesspipe)" @@ -66,3 +70,4 @@ # sleep 10; alert alias alert='notify-send --urgency=low -i "$([ $? = 0 ] && echo terminal || echo error)" "$(history|tail -n1|sed -e '\''s/^\s*[0-9]\+\s*//;s/[;&|]\s*alert$//'\'')"' +source /usr/local/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh