summaryrefslogtreecommitdiff
path: root/home-config/fish/functions/__zoxide_pwd.fish
diff options
context:
space:
mode:
authorRyan Schanzenbacher <ryan@rschanz.org>2024-04-12 23:09:46 -0400
committerRyan Schanzenbacher <ryan@rschanz.org>2024-04-12 23:09:46 -0400
commita8b7e972ead8df887f06537ccc017fe556f43fd3 (patch)
tree95f091f70a391b00b58062d1bf11b7860c53e178 /home-config/fish/functions/__zoxide_pwd.fish
parent0c1f7cae6b111ab2d3bd39c85640349d7e621764 (diff)
added zoxide helper plugin
Diffstat (limited to 'home-config/fish/functions/__zoxide_pwd.fish')
-rw-r--r--home-config/fish/functions/__zoxide_pwd.fish7
1 files changed, 7 insertions, 0 deletions
diff --git a/home-config/fish/functions/__zoxide_pwd.fish b/home-config/fish/functions/__zoxide_pwd.fish
new file mode 100644
index 0000000..49f9357
--- /dev/null
+++ b/home-config/fish/functions/__zoxide_pwd.fish
@@ -0,0 +1,7 @@
1function __zoxide_pwd
2 if test "$_ZO_RESOLVE_SYMLINKS" = 1
3 builtin pwd -P
4 else
5 builtin pwd -L
6 end
7end