diff options
Diffstat (limited to '.config')
-rw-r--r-- | .config/zsh/.zshrc | 2 | ||||
-rw-r--r-- | .config/zsh/alias.zsh | 6 |
2 files changed, 5 insertions, 3 deletions
diff --git a/.config/zsh/.zshrc b/.config/zsh/.zshrc index 2f78257..f43f40a 100644 --- a/.config/zsh/.zshrc +++ b/.config/zsh/.zshrc @@ -1,3 +1,5 @@ +export FZF_DEFAULT_OPTS='--height 40% --layout=reverse --border' + autoload -U colors && colors HISTSIZE=5000 diff --git a/.config/zsh/alias.zsh b/.config/zsh/alias.zsh index 357619b..fc04c78 100644 --- a/.config/zsh/alias.zsh +++ b/.config/zsh/alias.zsh @@ -30,7 +30,7 @@ alias gpo='git push origin' alias startdocker='sudo service vboxnet restart && docker-machine start docker-home' alias stopdocker='docker-machine stop docker-home' alias envdocker='eval `docker-machine env docker-home`' -alias z='fzf --height 40% --reverse --border' +alias z='cd $(find . -type d | fzf)' alias cat='bat' -alias vimz='nvim $(fzf --height 40% --reverse --border)' -alias v='vimz' +alias vimz='nvim $(fzf)' +alias v='nvim $(fzf)' |