add fzf-tab
This commit is contained in:
parent
440a028f91
commit
c7ae295cef
3
.gitmodules
vendored
3
.gitmodules
vendored
@ -22,3 +22,6 @@
|
|||||||
[submodule "zsh/.oh-my-zsh-custom/themes/powerlever10k"]
|
[submodule "zsh/.oh-my-zsh-custom/themes/powerlever10k"]
|
||||||
path = zsh/.oh-my-zsh-custom/themes/powerlevel10k
|
path = zsh/.oh-my-zsh-custom/themes/powerlevel10k
|
||||||
url = https://github.com/romkatv/powerlevel10k.git
|
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
|
||||||
|
1
zsh/.oh-my-zsh-custom/plugins/fzf-tab
Submodule
1
zsh/.oh-my-zsh-custom/plugins/fzf-tab
Submodule
@ -0,0 +1 @@
|
|||||||
|
Subproject commit bc086fc38cfd680a90c694210fa5c5d88e3d1691
|
14
zsh/.zshrc
14
zsh/.zshrc
@ -57,11 +57,14 @@ ZSH_CUSTOM=$HOME/.oh-my-zsh-custom
|
|||||||
# Custom plugins may be added to ~/.oh-my-zsh/custom/plugins/
|
# Custom plugins may be added to ~/.oh-my-zsh/custom/plugins/
|
||||||
# Example format: plugins=(rails git textmate ruby lighthouse)
|
# Example format: plugins=(rails git textmate ruby lighthouse)
|
||||||
# Add wisely, as too many plugins slow down shell startup.
|
# 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
|
# 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"
|
# export MANPATH="/usr/local/man:$MANPATH"
|
||||||
|
|
||||||
# You may need to manually set your language environment
|
# 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
|
# Example aliases
|
||||||
# alias zshconfig="mate ~/.zshrc"
|
# alias zshconfig="mate ~/.zshrc"
|
||||||
# alias ohmyzsh="mate ~/.oh-my-zsh"
|
# alias ohmyzsh="mate ~/.oh-my-zsh"
|
||||||
|
|
||||||
ZSH_CACHE_DIR=$HOME/.oh-my-zsh-cache
|
ZSH_CACHE_DIR=$HOME/.oh-my-zsh-cache
|
||||||
if [[ ! -d $ZSH_CACHE_DIR ]]; then
|
if [[ ! -d $ZSH_CACHE_DIR ]]; then
|
||||||
mkdir $ZSH_CACHE_DIR
|
mkdir $ZSH_CACHE_DIR
|
||||||
@ -97,7 +99,3 @@ for file in ~/.zshrc.d/*; do
|
|||||||
source "$file"
|
source "$file"
|
||||||
done
|
done
|
||||||
source $ZSH/oh-my-zsh.sh
|
source $ZSH/oh-my-zsh.sh
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user