Last active
December 24, 2015 11:39
-
-
Save ByScripts/6792315 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
alias c=clear | |
alias ..='cd ..' | |
alias i='sudo apt-get install' | |
alias u='sudo apt-get update' | |
alias r='sudo apt-get remove' | |
alias ug='sudo apt-get upgrade' | |
alias dug='sudo apt-get upgrade' | |
alias ar='sudo apt-get autoremove' | |
alias updatedb='sudo updatedb' | |
alias psg='ps -ef | grep -i' | |
alias xclip='xclip -selection c' | |
alias a2reload='sudo service apache2 reload' | |
alias a2restart='sudo service apache2 restart' | |
_apt_install_complete() { | |
mapfile -t COMPREPLY < <(apt-cache --no-generate pkgnames "$2"); | |
} | |
complete -F _apt_install_complete i |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment