summaryrefslogtreecommitdiffstats
path: root/aliases
blob: cd2851262eb7e7c0739cbcb4538143047cdd5d04 (plain) (blame)
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
# improvements to common commands {{{
alias ls="ls --color=auto --group-directories-first"
alias grep="grep --color=auto"
alias rm="rm -i"
alias cp="cp -i"
alias mv="mv -i"
alias bc="bc -lq"
alias ag="ag --pager=less --smart-case"
type forkprove > /dev/null 2>&1 && alias prove="forkprove"
type tput > /dev/null 2>&1 && alias reset="tput reset"
# }}}
# games {{{
alias nao="env TERM=rxvt telnet nethack.alt.org"
alias cao="env TERM=rxvt /usr/bin/ssh -C -i $HOME/.ssh/cao_key joshua@crawl.akrasiac.org"
alias cdo="ssh -C -i $HOME/.ssh/cao_key crawl@crawl.develz.org"
# }}}
# termcast {{{
alias tc="telnet termcast.org"
# }}}
# shells {{{
alias bishamon='ssh doy@bishamon'
alias tozt="ssh doy@tozt.net"
# }}}
# tmux sessions {{{
alias main='tmux a -t main'
alias chat='tmux a -t chat'
alias work='tmux a -t work'
alias docs='tmux a -t docs'
alias misc='tmux a -t misc'
# }}}
# other {{{
alias pm="find lib -type f | sort"
alias bootstrap_cpanm="curl -Ls http://cpanmin.us/ | perl - App::cpanminus"
alias v="vim --cmd 'let g:startify_disable_at_vimenter = 1' -c 'call feedkeys(\"t\")'"
alias g="vim --cmd 'let g:startify_disable_at_vimenter = 1' -c 'call feedkeys(\"ff\")'"
alias wifi="sudo systemctl restart netctl-auto@wlp3s0"
alias utc="env TZ=UTC date"
alias pd="perldoc"
# }}}

# vim:ft=sh:fdm=marker