summaryrefslogtreecommitdiff
path: root/home-config/fish/functions/__zoxide_z.fish
diff options
context:
space:
mode:
authorRyan Schanzenbacher <ryan@rschanz.org>2024-04-12 23:16:49 -0400
committerRyan Schanzenbacher <ryan@rschanz.org>2024-04-12 23:16:49 -0400
commit5e9fa3482050acbdf189c40c5d6429dee6420b17 (patch)
treedbb2080d7d70cac4286560fbe91e14ee30572be9 /home-config/fish/functions/__zoxide_z.fish
parenta8b7e972ead8df887f06537ccc017fe556f43fd3 (diff)
removed zoxide plugin
Diffstat (limited to 'home-config/fish/functions/__zoxide_z.fish')
-rw-r--r--home-config/fish/functions/__zoxide_z.fish13
1 files changed, 0 insertions, 13 deletions
diff --git a/home-config/fish/functions/__zoxide_z.fish b/home-config/fish/functions/__zoxide_z.fish
deleted file mode 100644
index bb24f69..0000000
--- a/home-config/fish/functions/__zoxide_z.fish
+++ /dev/null
@@ -1,13 +0,0 @@
1function __zoxide_z
2 set --local argc (count $argv)
3 if test $argc -eq 0
4 __zoxide_cd $HOME
5 else if test "$argv" = -
6 __zoxide_cd -
7 else if test $argc -eq 1 -a -d $argv[1]
8 __zoxide_cd $argv[1]
9 else
10 set --local result (command zoxide query --exclude (__zoxide_pwd) -- $argv)
11 and __zoxide_cd $result
12 end
13end