forked from shitikanth/dotfiles
-
Notifications
You must be signed in to change notification settings - Fork 0
/
_aliases
73 lines (69 loc) · 1.56 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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
#!/bin/sh
# My aliases
alias screen='screen -s /bin/bash'
alias wee='weechat-curses'
alias cal='cal -3'
alias today='date "+%A, %B %-d, %Y"'
alias sudo='sudo -E'
alias reboot="sudo shutdown -r now"
alias off="sudo shutdown -h now"
alias egrep='egrep --color=auto'
alias fgrep='fgrep --color=auto'
alias grep='grep --color=auto'
alias ls='ls --color=auto'
alias less='less -r'
alias ll='ls -l'
alias la='ls -A'
alias lla='ls -lA'
alias lS='ls -Ss'
alias las='ls -aSs'
alias lls='ls -lS'
alias llas='ls -lAS'
alias l='ll'
alias lals='llas'
alias lc='ls --color=none'
alias c='clear'
alias brc='vim ~/.bashrc'
alias reload='. ~/.bashrc'
alias back='cd "$OLDPWD"'
alias cu='cd ..'
alias r='reload'
alias b='back'
alias vimr='vim --remote-silent'
alias vimrt='vim --remote-tab-silent'
alias ec='TERM=xterm-16color emacsclient --nw -c'
alias ecc='ec -s clojure'
alias c++11='clang++ -std=c++11'
alias c++14='clang++ -std=c++14'
alias cpp='c++14 -g -Wall'
# Git
alias gt='git --no-pager'
alias gdf='git diff'
alias gad='git add'
alias gadd='git add'
alias gca='git commit -a'
alias gcm='git commit -m'
alias gst='gt status -s'
alias gpl='git pull'
alias glog='git log'
alias gbr='git branch'
alias gco='git checkout'
# Mis-spelled commands
alias gvb='gdb'
alias gbim='gvim'
alias bim='vim'
alias cim='vim'
alias gvbim='gvim'
alias gbvim='gvim'
alias les='less'
alias relaod='reload'
alias yourt='yaourt'
alias mkdor='mkdir'
alias :ghci='ghci'
alias cd..='cd ..'
alias udo='sudo'
#PS1='[\u:\h \W]\$ '
if [ `uname -s` = Darwin ]
then source ~/.aliases.darwin
fi
alias uwdev='ssh uwlinux -t dev-tmux'