Skip to content

Instantly share code, notes, and snippets.

@vansoest
Created January 28, 2016 12:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vansoest/efa6f008662d4105b111 to your computer and use it in GitHub Desktop.
Save vansoest/efa6f008662d4105b111 to your computer and use it in GitHub Desktop.
zsh: generate sudo aliases. :)
# Sudo aliases.
sudo_aliases=(pacman htop)
for c in $sudo_aliases; do; alias $c="sudo $c"; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment