More tweaks to zsh

This commit is contained in:
2016-04-03 16:15:04 +01:00
parent 1d4f815fff
commit 58c077071a
5 changed files with 9 additions and 13 deletions

3
.gitmodules vendored
View File

@@ -13,9 +13,6 @@
[submodule "tmux/themes"]
path = tmux/themes
url = git@github.com:jimeh/tmux-themepack.git
[submodule "shell/enhancd"]
path = shell/enhancd
url = https://github.com/b4b4r07/enhancd
[submodule "shell/zsh/zplug"]
path = shell/zsh/zplug
url = https://github.com/b4b4r07/zplug

View File

@@ -28,7 +28,6 @@ source "$DOTSHELL/aliases.sh"
source "$DOTSHELL/emacs.sh"
source "$DOTSHELL/git.sh"
source "$DOTSHELL/tmux.sh"
source "$DOTSHELL/enhancd.sh"
# Development
source "$DOTSHELL/nodejs.sh"

Submodule shell/enhancd deleted from 865429281d

View File

@@ -1,3 +0,0 @@
export ENHANCD_COMMAND=c
export ENHANCD_FILTER="peco --layout=bottom-up"
source "$DOTSHELL/enhancd/enhancd.sh"

View File

@@ -25,10 +25,6 @@ unsetopt correctall
# Cause I hit emacs shorts too much.
bindkey -s "\C-x\C-f" "cd "
# use ctrl+t to toggle autosuggestions(hopefully this wont be needed as
# zsh-autosuggestions is designed to be unobtrusive).
bindkey '^T' autosuggest-toggle
#
# zplug
#
@@ -43,7 +39,10 @@ zplug "plugins/powder", from:oh-my-zsh
zplug "$DOTZSH/themes/plain", from:local
# zplug "junegunn/fzf", of:"shell/*.zsh"
zplug "jimeh/zsh-peco-history"
zplug "b4b4r07/enhancd", of:"zsh/*.zsh"
zplug "zsh-users/zsh-completions"
zplug "zsh-users/zsh-autosuggestions"
zplug "zsh-users/zsh-syntax-highlighting", nice:19
@@ -57,9 +56,14 @@ if ! zplug check --verbose; then
fi
fi
zplug load
if zplug check "b4b4r07/enhancd"; then
export ENHANCD_COMMAND=c
export ENHANCD_FILTER="fzf:peco --layout=bottom-up"
fi
# Configure zsh-syntax-highlighting
if zplug check zsh-users/zsh-syntax-highlighting; then
export ZSH_HIGHLIGHT_HIGHLIGHTERS=(main brackets)
fi
zplug load