summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinnnus <[email protected]>2023-09-28 17:37:29 +0200
committerLinnnus <[email protected]>2023-09-28 17:37:29 +0200
commit64899240dcba0063ebb0563c35ed3be5c66a990f (patch)
treead53330b6fdcbeaacbcc5f079c5fab040414a373
parent6a293c778fee063877f5d38ab186f15779754e28 (diff)
Add cd aliases
-rw-r--r--hosts/common.nix10
1 files changed, 10 insertions, 0 deletions
diff --git a/hosts/common.nix b/hosts/common.nix
index 3817a62..f18c062 100644
--- a/hosts/common.nix
+++ b/hosts/common.nix
@@ -39,5 +39,15 @@
"grep" = "grep --color=auto";
"file" = "file --no-dereference";
"tree" = "tree --dirsfirst";
+
+ ".." = "cd ../";
+ "..." = "cd ../../";
+ "...." = "cd ../../../";
+ "....." = "cd ../../../../";
+ "......" = "cd ../../../../../";
+ "......." = "cd ../../../../../../";
+ "........" = "cd ../../../../../../../";
+ "........." = "cd ../../../../../../../../";
+ ".........." = "cd ../../../../../../../../../";
};
}