Skip to content

Instantly share code, notes, and snippets.

@rdbox
Last active July 20, 2016 16:41
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 rdbox/12872fba92ffe2b7e886e7944ada3e39 to your computer and use it in GitHub Desktop.
Save rdbox/12872fba92ffe2b7e886e7944ada3e39 to your computer and use it in GitHub Desktop.
###---------------ALIAS---------------###
#Добавление своих aliases
alias ghistory='history | grep '
alias my-ip='wget -qO myip http://www.ipchicken.com/; grep -o "[0-9]\{1,3\}\.[0-9]\{1,3\}\.[0-9]\{1,3\}\.[0-9]\{1,3\}" myip; rm -rf myip'
alias g="grep"
alias sl=ls
alias x="exit"
alias cp="cp -iv "
alias mv="mv -iv "
alias rm="rm -iv "
alias Install="aptitude install"
alias Update="aptitude update"
alias Upgrade="aptitude dist-upgrade"
alias Remove="aptitude remove"
alias Search="aptitude search"
alias Purge="aptitude purge"
alias vi="vim -R"
alias v="vim"
export EDITOR=v
export VIEWER=vi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment