Added fzf

This commit is contained in:
Joty
2018-04-23 02:14:26 +09:30
parent 0132a28813
commit 247e4c652e
3 changed files with 10 additions and 1 deletions

3
.zshrc
View File

@@ -109,5 +109,8 @@ source $ZSH/oh-my-zsh.sh
# alias zshconfig="mate ~/.zshrc"
# alias ohmyzsh="mate ~/.oh-my-zsh"
[ -f ~/.fzf.zsh ] && source ~/.fzf.zsh
export FZF_DEFAULT_OPS="--extended"
alias wip="wget -qO- https://wtfismyip.com/text" # quickly show external ip address
alias l="ls -lah"

View File

@@ -1,6 +1,6 @@
# quickz-sh
Quickly install and setup oh-my-zsh with powerlevel9k theme, Powerline fonts, zsh-completions, zsh-autosuggestions, zsh-syntax-highlighting, history-substring-search etc.
Quickly install and setup oh-my-zsh with powerlevel9k theme, Powerline fonts, zsh-completions, zsh-autosuggestions, zsh-syntax-highlighting, history-substring-search, fzf etc.
## Installation
``` bash

View File

@@ -61,6 +61,12 @@ else
cd ~/.oh-my-zsh/custom/themes/powerlevel9k && git pull
fi
if git clone --depth 1 https://github.com/junegunn/fzf.git ~/.fzf; then :
else
cd ~/.fzf && git pull
fi
~/.fzf/install --all --key-bindings --completion --no-update-rc --64
# source ~/.zshrc
echo -e "\nSudo access is needed to change default shell\n"