summaryrefslogtreecommitdiffstats
path: root/.config/zsh
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-10-20 20:24:07 +0200
committerJozanLeClerc <bousset.rudy@gmail.com>2020-10-20 20:24:07 +0200
commit974b2823c09ba2c950ca3ac61b9a2327f7b9388e (patch)
treea8683634a3fc145abfd791a1b5b257976473e719 /.config/zsh
parentReopen Startify when closing all (diff)
downloaddotfiles-bsd-974b2823c09ba2c950ca3ac61b9a2327f7b9388e.tar.gz
dotfiles-bsd-974b2823c09ba2c950ca3ac61b9a2327f7b9388e.tar.bz2
dotfiles-bsd-974b2823c09ba2c950ca3ac61b9a2327f7b9388e.tar.xz
dotfiles-bsd-974b2823c09ba2c950ca3ac61b9a2327f7b9388e.tar.zst
dotfiles-bsd-974b2823c09ba2c950ca3ac61b9a2327f7b9388e.zip
fzf zsh
Diffstat (limited to '')
-rw-r--r--.config/zsh/.zshrc6
-rw-r--r--.config/zsh/alias.zsh1
2 files changed, 4 insertions, 3 deletions
diff --git a/.config/zsh/.zshrc b/.config/zsh/.zshrc
index f43f40a..7145cb3 100644
--- a/.config/zsh/.zshrc
+++ b/.config/zsh/.zshrc
@@ -36,8 +36,10 @@ bindkey -M vicmd "j" history-beginning-search-forward
autoload edit-command-line && zle -N edit-command-line
bindkey "^e" edit-command-line
-[ -f "$XDG_CONFIG_HOME/zsh/alias.zsh" ] && source $ZDOTDIR/alias.zsh
-[ -f "$XDG_CONFIG_HOME/zsh/plugins.zsh" ] && source $ZDOTDIR/plugins.zsh
+[ -f "$ZDOTDIR/alias.zsh" ] && source $ZDOTDIR/alias.zsh
+[ -f "$ZDOTDIR/plugins.zsh" ] && source $ZDOTDIR/plugins.zsh
+[ -f "$HOME/Packages/fzf/shell/completion.zsh" ] && source $HOME/Packages/fzf/shell/completion.zsh
+[ -f "$HOME/Packages/fzf/shell/key-bindings.zsh" ] && source $HOME/Packages/fzf/shell/key-bindings.zsh
globalias() {
if [[ $LBUFFER =~ '^[a-z0-9]+$' ]]; then
diff --git a/.config/zsh/alias.zsh b/.config/zsh/alias.zsh
index f1434b3..b0b5080 100644
--- a/.config/zsh/alias.zsh
+++ b/.config/zsh/alias.zsh
@@ -30,7 +30,6 @@ 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='cd $(find . -type d | fzf)'
alias cat='bat'
alias vimz='nvim $(fzf)'
alias v='nvim $(fzf)'