diff --git a/config/fish/functions/go.fish b/config/fish/functions/go.fish index 7add49b..d40686b 100644 --- a/config/fish/functions/go.fish +++ b/config/fish/functions/go.fish @@ -1,5 +1,5 @@ function go --description 'Jump to directories' - lr /home /data /etc -L -t '(name ~~ "^\." && prune || print) && type = d && !(name = ".git")' \ + lr /home /data /etc -L -t '(name ~~ ".*" && prune || print) && type = d && !(name = ".git")' \ | fzf \ | read -l dir [ "$dir" ]; and cd $dir; and clear