-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.aliases
executable file
·26 lines (25 loc) · 1.02 KB
/
.aliases
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
alias cl="clear"
alias up="sudo apt-get update"
alias ug="sudo apt-get upgrade"
alias dug="sudo apt-get dist-upgrade"
alias difco="git diff --color"
alias difca="git diff --color --cached"
alias resco="git reset HEAD && git clean -fd && git checkout -- ."
alias please="sudo"
alias cleanup="sudo apt-get clean && sudo apt-get autoclean && sudo apt-get autoremove"
alias pgup="sudo service postgresql start"
alias pgdown="sudo service postgresql stop"
alias pgstatus="sudo service postgresql status"
alias fcl="fortune | cowsay -f tux"
alias nukelast="git reset --soft HEAD~1"
alias resetlast="git reset --soft HEAD~1"
alias ppa="sudo apt-add-repository"
alias wget="wget --no-check-certificate"
alias aptsearch="sudo apt-cache search"
alias shutup='sudo $(fc -l -n -1)'
alias elastic=~/Ruby/elasticsearch-1.2.1/bin/elasticsearch
alias cm="cmake CMakeLists.txt && make"
# alias vi="vim"
alias p3doc="cd /usr/share/doc/python3.4/html && python3 -m http.server && cd ~"
alias reloadzsh="source ~/.zshrc"
alias xc="xclip -selection clipboard"