aboutsummaryrefslogtreecommitdiff
path: root/dotfiles/system/.profile.d/zoxide.sh
diff options
context:
space:
mode:
Diffstat (limited to 'dotfiles/system/.profile.d/zoxide.sh')
-rwxr-xr-xdotfiles/system/.profile.d/zoxide.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/dotfiles/system/.profile.d/zoxide.sh b/dotfiles/system/.profile.d/zoxide.sh
new file mode 100755
index 0000000..8bbb86b
--- /dev/null
+++ b/dotfiles/system/.profile.d/zoxide.sh
@@ -0,0 +1,11 @@
+#!/bin/sh
+
+# zoxide.sh
+# Craig Jennings <c@cjennings.net>
+# zoxide initialization, sourced by .profile
+
+# Initialize zoxide for zsh
+eval "$(zoxide init zsh)"
+
+# Alias cd to use zoxide
+# alias cd="z"