about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--nix-conf/home/includes/zsh.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/nix-conf/home/includes/zsh.nix b/nix-conf/home/includes/zsh.nix
index 9729386..38a32fa 100644
--- a/nix-conf/home/includes/zsh.nix
+++ b/nix-conf/home/includes/zsh.nix
@@ -178,9 +178,10 @@ in
 
       # TODO is there a way to do this in shellAliases
       alias ..="cd .."
+      alias ...="cd ../.."
       alias -- -="cd -"
 
-      ...() {
+      .,() {
         local declare dirs=()
         get_parent_dirs() {
           if [[ -d "''${1}" ]]; then dirs+=("$1"); else return; fi