4 ms·
In my previous setup, I had a function that displayed a menu when I started bash, listing all my "main" directories. So each time you started a session you just
by wingerlang 8y ago
In my previous setup, I had a function that displayed a menu when I started bash, listing all my "main" directories. So each time you started a session you just had to press 1-7 to go where you wanted.
- niyazpk 8y agoThat is a great idea. Thank you!
- wingerlang 8y agoDefinitely save me some time and effort. The only issue I had was that sometimes when I wanted to use bash from, like, another app it would start the menu so it wouldn't work to use it from them. I'm sure it can be worked around but it was never a real issue so I didn't work on it. Here is the code I had https://gist.github.com/jontelang/c6317bf14c527d2a89f1efd5d0558f73 https://gist.github.com/jontelang/c6317bf14c527d2a89f1efd5d0... and I put this straight into my .bash_profile and it runs automatically when the shell starts.