2019-07-11 13:26:24 +02:00
|
|
|
# Shortcut to script with configuration
|
2019-10-04 11:54:43 +02:00
|
|
|
alias lock='i3exit lock'
|
2019-07-11 13:26:24 +02:00
|
|
|
|
|
|
|
# Colorize output
|
|
|
|
alias ls='ls -CF --color=auto'
|
|
|
|
alias ll='ls -li'
|
|
|
|
alias la='ls -lisa'
|
2019-10-04 17:03:23 +02:00
|
|
|
alias lsl='ls -lhFA --color=always | less'
|
2019-07-11 13:26:24 +02:00
|
|
|
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 more='less'
|
|
|
|
alias userlist='cut -d: -f1 /etc/passwd'
|
|
|
|
alias fhere='find . -name '
|
|
|
|
alias free='free -mt'
|
|
|
|
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 folders='find . -maxdepth 1 -type d -print0 | xargs -0 du -sk | sort -rn'
|
2019-07-17 10:19:28 +02:00
|
|
|
|
|
|
|
# Quick compilation with flags
|
|
|
|
alias clang++e='clang++ -Wall -Wextra -pedantic -Werror -std=c++17'
|
|
|
|
alias g++e='g++ -Wall -Wextra -pedantic -Werror -std=c++17'
|
2019-07-21 23:29:20 +02:00
|
|
|
|
|
|
|
# Quick documentation using the cpprefernce AUR package
|
|
|
|
alias cppref='firefox /usr/share/doc/cppreference/en/cpp.html'
|