문제

I found myself typing 'cd ..' quite often. Just to reduce number of keystroke, Is there any shortcut/key combo I can use to go up one directory? If not, how do I create one?

Instead of aliasing "cd ..", can I set up something like "ctrl + p"?

도움이 되었습니까?

해결책

the following command can make you execute cd .. by pressing Ctrl+t

bind '"\C-t":"cd ..\n"'
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top