From 159a142967fb08f3227eca60982ba4e57883e76a Mon Sep 17 00:00:00 2001 From: Keanu Date: Sun, 17 Jan 2021 12:07:31 +0100 Subject: [PATCH] Removed fasd stuff. --- zsh/plugins.zsh | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/zsh/plugins.zsh b/zsh/plugins.zsh index edba661..0687e21 100644 --- a/zsh/plugins.zsh +++ b/zsh/plugins.zsh @@ -64,22 +64,22 @@ _plugin completions 'zsh-users/zsh-completions' "$_checkout_latest_version" # fasd {{{ -unalias j -j() { - local _fasd_ret - _fasd_ret="$( - # -l: list all paths in the database (without scores) - # -d: list only directories - # -R: in the reverse order - fasd -l -d -R | - fzf --height=40% --layout=reverse --tiebreak=index --query="$*" - )" - if [[ -d "$_fasd_ret" ]]; then - cd -- "$_fasd_ret" - elif [[ -n "$_fasd_ret" ]]; then - print -- "$_fasd_ret" - fi -} +#unalias j +#j() { +# local _fasd_ret +# _fasd_ret="$( +# # -l: list all paths in the database (without scores) +# # -d: list only directories +# # -R: in the reverse order +# fasd -l -d -R | +# fzf --height=40% --layout=reverse --tiebreak=index --query="$*" +# )" +# if [[ -d "$_fasd_ret" ]]; then +# cd -- "$_fasd_ret" +# elif [[ -n "$_fasd_ret" ]]; then +# print -- "$_fasd_ret" +# fi +#} # }}}