A simple bash code to create shortcuts for lazy people. I mainly use this to go long directories or long commands that I use often.
- Download and Extract
pmenu
to a directory - Enter in your terminal
cd ~
- Enter in your terminal
mkdir -p bashes/
(if it still doesn't exists) - Paste the
pmenu
inside thebashes
folder - Enter in your terminal
echo "export PATH=$PATH:~bashes" >> ~/.bashrc
- Enter in your terminal
echo "alias pmenu=\"source pmenu\"" >> ~/.bashrc
- type
pmenu <your-shortcut>
in your terminal