summaryrefslogtreecommitdiff
path: root/dotfiles/system
diff options
context:
space:
mode:
Diffstat (limited to 'dotfiles/system')
-rw-r--r--dotfiles/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 100644
index 0000000..a748043
--- /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"