34 lines
1 KiB
Plaintext
34 lines
1 KiB
Plaintext
|
# Useful when changing urxvt colors
|
||
|
alias ureload='xrdb -merge ~/.Xresources'
|
||
|
|
||
|
# Shortcut to script with configuration
|
||
|
alias lock='~/scripts/i3exit lock'
|
||
|
|
||
|
# Colorize output
|
||
|
alias ls='ls -CF --color=auto'
|
||
|
alias ll='ls -li'
|
||
|
alias la='ls -lisa'
|
||
|
alias lsl='ls -lhFA | less'
|
||
|
alias tree='tree -C'
|
||
|
alias grep='grep --color=auto'
|
||
|
alias egrep='egrep --color=auto'
|
||
|
alias fgrep='fgrep --color=auto'
|
||
|
alias diff='diff --color=auto'
|
||
|
|
||
|
# Better defaults
|
||
|
alias df='df -ahiT --total'
|
||
|
alias cp='cp -i'
|
||
|
alias more='less'
|
||
|
#alias mkdir='mkdir -v'
|
||
|
alias userlist='cut -d: -f1 /etc/passwd'
|
||
|
alias fhere='find . -name '
|
||
|
alias free='free -mt'
|
||
|
alias du='du -ach | sort -h'
|
||
|
alias ps='ps auxf'
|
||
|
alias psgrep='ps aux | grep -v grep | grep -i -e VSZ -e'
|
||
|
alias wget='wget -c'
|
||
|
alias histg='history | grep'
|
||
|
alias myip='curl http://ipecho.net/plain; echo'
|
||
|
#alias logs="find /var/log -type f -exec file {} \; | grep 'text' | cut -d' ' -f1 | sed -e's/:$//g' | grep -v '[0-9]$' | xargs tail -f"
|
||
|
alias folders='find . -maxdepth 1 -type d -print0 | xargs -0 du -sk | sort -rn'
|