Some tweaks that will make work more easy for any bash purist or geeks
An alias
means as the name suggests, we call something instead of something else.
The installation is very simple.
git clone https://github.com/SoftGeekRO/sgs.bash-tweaks.git
cd sgs.bash-tweaks
sudo ./install.sh install
The installation will create a sgs/sgs.bash-tweaks folder inside the /user/share/ folder. The sgs folder is used to keep all the SoftGeek applications contain in a single folder.
# clear screen in terminal
alias c='clear'
# change directory aliases
alias home='cd ~'
alias ..='cd ..'
alias ...='cd ../..'
alias ....='cd ../../..'
alias .....='cd ../../../..'
# shutdown aliases
alias off="sudo shutdown now"
alias ss="sudo shutdown -r now"
alias sf="sudo shutdown -r -n now"
More alias and commands are available inside the lib files.
Contributions of all forms are welcome :)
This Ansible role is licensed under the GNU General Public License, version 3 (GPLv3).
Zaharia Constantin