A collection of helpful shell aliases and functons. It can autoinstall on bash, zsh and every other shell which will be listed in "find ~/.*rc".
- WARNING: The current public version of the script installs the aliases and the functions in all *.rc files in your current ~ folder. It should not create any problems, but if it does - please open an issue here.
Easy oneliner for installation with wget:
wget https://raw.githubusercontent.com/thereisnotime/xxAliasToolbox/master/xxAliasToolbox.sh -O /tmp/xxAliasToolbox.sh && chmod +x /tmp/xxAliasToolbox.sh && /tmp/xxAliasToolbox.sh && rm /tmp/xxAliasToolbox.sh
Easy oneliner for installation with curl:
bash <(curl -s https://raw.githubusercontent.com/thereisnotime/xxAliasToolbox/master/xxAliasToolbox.sh)
Currently the script depends only on the package manager and few internals, which get installed with the script:
curl
psmisc
wget
locate
whois
htop
net-tools
screen
jq
xmlstarlet
yamllint
pv
dtrx
The should work on most Linus distributions and has been tested on the following:
Debian 7 x64
Debian 7 x86
Debian 8 x64
Debian 8 x86
Debian 9 x64
To remove xxAliasToolbox from all shells use:
for RCFILE in `find ~/.*rc`; do
if grep -q "#XXALIASTOOLBOX" "$RCFILE"; then
sed -i '/#XXALIASTOOLBOX/,/#ENDXXALIASTOOLBOX/g' "$RCFILE"
fi
done
After that you can clear your environment variables and source ~/.*rc files or just exit and login again.