4 ms·
up() { cd $(eval printf '../'%.0s {1..$1}); } So you can just type something like `up 2` to move by two directories.
by pokler 3y ago
up() { cd $(eval printf '../'%.0s {1..$1}); }
So you can just type something like `up 2` to move by two directories.
- deleted 3y ago[deleted]
- fsckboy 3y agoeval printf? um.... is your name little bobby tables by any chance?