add fzf-tab

This commit is contained in:
vincent 2021-07-11 21:59:42 +02:00
parent 440a028f91
commit c7ae295cef
3 changed files with 13 additions and 11 deletions

3
.gitmodules vendored
View File

@ -22,3 +22,6 @@
[submodule "zsh/.oh-my-zsh-custom/themes/powerlever10k"]
path = zsh/.oh-my-zsh-custom/themes/powerlevel10k
url = https://github.com/romkatv/powerlevel10k.git
[submodule "zsh/.oh-my-zsh-custom/plugins/fzf-tab"]
path = zsh/.oh-my-zsh-custom/plugins/fzf-tab
url = https://github.com/Aloxaf/fzf-tab

@ -0,0 +1 @@
Subproject commit bc086fc38cfd680a90c694210fa5c5d88e3d1691

View File

@ -57,11 +57,14 @@ ZSH_CUSTOM=$HOME/.oh-my-zsh-custom
# Custom plugins may be added to ~/.oh-my-zsh/custom/plugins/
# Example format: plugins=(rails git textmate ruby lighthouse)
# Add wisely, as too many plugins slow down shell startup.
plugins=(archlinux common-aliases cp systemd colored-man-pages extract rsync history-substring-search nmap sudo systemadmin wakeonlan git zsh-256color tmux thefuck zsh-syntax-highlighting pip pyenv python docker fzf)
plugins=(archlinux common-aliases cp systemd colored-man-pages extract rsync history-substring-search nmap sudo systemadmin wakeonlan git zsh-256color tmux thefuck zsh-syntax-highlighting pip pyenv python docker fzf fzf-tab)
# User configuration
# fzf-tab option
zstyle ':completion:*:git-checkout:*' sort false
zstyle ':completion:*:git-diff:*' sort false
zstyle ':completion:*' list-colors ${(s.:.)LS_COLORS}
zstyle ':completion:*:descriptions' format '[%d]'
# export MANPATH="/usr/local/man:$MANPATH"
# You may need to manually set your language environment
@ -87,7 +90,6 @@ plugins=(archlinux common-aliases cp systemd colored-man-pages extract rsync his
# Example aliases
# alias zshconfig="mate ~/.zshrc"
# alias ohmyzsh="mate ~/.oh-my-zsh"
ZSH_CACHE_DIR=$HOME/.oh-my-zsh-cache
if [[ ! -d $ZSH_CACHE_DIR ]]; then
mkdir $ZSH_CACHE_DIR
@ -97,7 +99,3 @@ for file in ~/.zshrc.d/*; do
source "$file"
done
source $ZSH/oh-my-zsh.sh