-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaliases
42 lines (35 loc) · 1001 Bytes
/
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
########## Other Aliases ##########
alias c='clear'
alias cd..='cd ..'
alias ..='cd ..'
alias home='cd ~/..'
alias main='cd ~'
alias mian='cd ~'
alias back='cd -'
alias user='echo $USER'
alias less='less -R'
# some more ls aliases
alias ll='ls -alF'
alias la='ls -A'
alias l='ls -CF'
alias ls-al='ls -al'
alias lsl='ls -l'
alias lsa='ls -a'
alias lsal='ls -al'
alias lsla='ls -al'
alias lslah='ls -alh'
# Vim File Aliases
alias tfoo='vim /tmp/foo'
alias tbar='vim /tmp/bar'
alias tfooc='vim /tmp/foo && cat /tmp/foo | pbcopy'
# Get rid of the awful BSD nc
alias nc='netcat'
# Some Tmux Aliases
alias t='tmux new -s '
alias teamocil='teamocil --here'
# Some useful Commands
alias publicip='dig +short myip.opendns.com @resolver1.opendns.com'
alias getip='ifconfig | grep inet'
# Reset mouse reporting after SSH ends abruptly
# https://superuser.com/questions/802698/disable-mouse-reporting-in-a-terminal-session-after-tmux-exits-unexpectedly
alias resetmouse='printf '"'"'\e[?1000l'"'"