about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--nix-conf/home/includes/zsh.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/nix-conf/home/includes/zsh.nix b/nix-conf/home/includes/zsh.nix
index 0ba8a0a..09c80b6 100644
--- a/nix-conf/home/includes/zsh.nix
+++ b/nix-conf/home/includes/zsh.nix
@@ -173,6 +173,7 @@ in
 
       # TODO is there a way to do this in shellAliases
       alias ..="cd .."
+      alias -- -="cd -"
 
       ...() {
         local declare dirs=()