-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdot_aliasrc
49 lines (44 loc) · 1.54 KB
/
dot_aliasrc
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
# vim: syntax=zsh
export NS1ROLLERNET="ns1-auth.rollernet.us"
export HOMEISEJA="home.iseja.net"
# Aliases
alias letitsnow='xsnow -snowflakes 177 -santaspeed 4'
alias cv='convert -geometry 1920x1080!'
alias sayuptime='saydate -uptime'
# Common (w/ root)
alias f=finger
alias j=jobs
#alias ll='ls $LS_OPTIONS -lh'
#alias la='ls $LS_OPTIONS -A'
#alias lal='ls $LS_OPTIONS -Al'
alias dselect='dselect --expert'
alias wom='w -h | grep -v $LOGNAME | sort'
alias duh='du -h --max-depth=1'
alias duk='du -k --max-depth=1'
alias dum='du -m --max-depth=1'
alias dus='du -sh'
alias goX='X -dpi 100 -query tux &'
alias wgetr='wget -r -m --convert-links --no-parent'
alias wgettmp='wget -P /tmp'
alias grepi='grep -i'
alias lastv='last -20 | grep -v $LOGNAME'
alias lastl='lastlog | grep -v "**Never"'
alias tailsyslog='tail -f /var/log/syslog | grep -v imap'
alias lesssyslog='grep -v imap /var/log/syslog | less'
alias digs='dig +short'
alias openssl-text='openssl x509 -text -noout'
#alias mc='mc -d'
mkbak() { cp -a $1 $1.bak }
mkold() { cp -a $1 $1.old }
mvbak() { mv $1 $1.bak }
mvold() { mv $1 $1.old }
ssh-permanent() { while true; do ssh $*; sleep 7; refresh; done }
alias ssh-known-hosts-ignore='ssh -oUserKnownHostsFile=/dev/null'
alias sa='ssh-add'
# Some more alias to avoid making mistakes:
#alias rm='rm -i'
#alias cp='cp -i'
#alias mv='mv -i'
# CVS
#alias nrsync='nice -n 20 rsync --rsh "/usr/bin/ssh" --rsync-path /usr/bin/rsync --archive --delete --exclude=local.properties --exclude=output/ --exclude=".*.swp" --exclude="*.jpx.local"'
alias nrsync='nice rsync -rilt'