mirror of
https://github.com/jimeh/dotfiles.git
synced 2026-02-19 06:46:40 +00:00
More tweaks to zsh
This commit is contained in:
3
.gitmodules
vendored
3
.gitmodules
vendored
@@ -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
|
||||
|
||||
@@ -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
@@ -1,3 +0,0 @@
|
||||
export ENHANCD_COMMAND=c
|
||||
export ENHANCD_FILTER="peco --layout=bottom-up"
|
||||
source "$DOTSHELL/enhancd/enhancd.sh"
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user