Is there any shortcut for cd ..?
|
show 5 more comments
feedback
|
|
Not by default (There might be some exceptions to this), there isn't. But if you use the
This will allow you to use the command | |||||||||||||||||||||
feedback
|
|
Activate the
For the curious, the same exists for zsh:
| |||||||||||||||||||
feedback
|
|
I find this useful:
For example, | |||
feedback
|
|
I use this one since I type too fast and often miss the space bar:
| |||||||||||||||||||
feedback
|
|
After doing a
you can If you want the whole swift-chdir suite
just include this in your .bashrc
| |||||||||||||
feedback
|
|
Try autojump: autojump on github This will not only shorten the cd command into 'j' but also shorten the characters needed for typing the folder you want to jump into. If you always cd into the folder /home/foo/Projects/thenextfacebook you can just do 'j face' and there you are. It learns automatically which folders are the most important ones for you and after using it for a month now I can say that it is very accurate. | |||
|
feedback
|
|
My bashrc file contains
as well as
| ||||
|
feedback
|
|
Try Cd Deluxe for a greatly improved cd command. It supports things like "cd ..." and "cd ...." and so on in order to quickly navigate upwards. | |||
|
feedback
|
cd ..too cumbersome to type – Erik Mar 20 '11 at 8:16cd ..’ so often have the “I mustcdinto a directory before talking about the files there” anti-pattern, rather than specifying filesystem paths. – bignose Apr 20 '11 at 7:08