about summary refs log tree commit diff stats
path: root/nix-conf/home/includes
diff options
context:
space:
mode:
authorDavid Morgan <djm_uk@protonmail.com>2024-07-11 14:11:21 +0100
committerDavid Morgan <djm_uk@protonmail.com>2024-07-11 14:11:21 +0100
commitc09daad766d6083f40443058b1e11a4606483e57 (patch)
tree0de1b77f7a53cd43a23df492519e9df93a97a164 /nix-conf/home/includes
parentd462da08a0753eed761a108fc24063e52bae0bd9 (diff)
downloaddotfiles-c09daad766d6083f40443058b1e11a4606483e57.tar.gz
Tweak cd aliases/function
Diffstat (limited to 'nix-conf/home/includes')
-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
891' href='/akkartik/mu/commit/html/subx/examples/ex10.subx.html?h=hlt&id=08a0eed699b8ea07d37163aba610c8e04feee003'>08a0eed6 ^
14a38052 ^
ac07e589 ^
60338448 ^

695f9bf8 ^
60338448 ^
e99038ea ^
695f9bf8 ^
ac07e589 ^
1a4de9dd ^















695f9bf8 ^
1a4de9dd ^















c9bda4d1 ^
1a4de9dd ^
14a38052 ^
c56d803c ^
60338448 ^
ee0e67b9 ^

c56d803c ^


1a4de9dd ^
a0d3cac4 ^
14a38052 ^


1a4de9dd ^
e99038ea ^
c56d803c ^
33352536 ^


c56d803c ^
b1635a5c ^
33352536 ^
14a38052 ^

33352536 ^
14a38052 ^
33352536 ^
14a38052 ^
a0d3cac4 ^

33352536 ^
a0d3cac4 ^



2104d1a7 ^
a0d3cac4 ^









c52ae116 ^
6070c23e ^
a0d3cac4 ^

6070c23e ^
a0d3cac4 ^



4a4a392d ^
a0d3cac4 ^

c52ae116 ^
6070c23e ^
a0d3cac4 ^








1a4de9dd ^



1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132