blob: 08f0701c5ea4f33614e9eb92586cfc0700b89c26 (
plain)
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
|
man() {
env LESS_TERMCAP_mb=$'\E[01;31m' \
LESS_TERMCAP_md=$'\E[01;38;5;74m' \
LESS_TERMCAP_me=$'\E[0m' \
LESS_TERMCAP_se=$'\E[0m' \
LESS_TERMCAP_so=$'\E[38;5;246m' \
LESS_TERMCAP_ue=$'\E[0m' \
LESS_TERMCAP_us=$'\E[04;38;5;146m' \
man "$@"
}
ccc() {
bc -l <<< "$@"
}
alias ccc='noglob ccc'
f() {
noglob bc -l <<< "scale=1;($@-32)*5/9"
}
alias pacman="PATH=$ORIG_PATH pacman"
alias sudo="sudo "
alias monut=mount
alias pamcan=pacman
alias sl=ls
alias ls="ls -F"
alias feh="feh --magick-timeout=0"
alias xcp="xclip -selection c"
alias pd=popd
alias po='pushd $OLDPWD'
# Add hotdog opts only if GNUy
if grep -V 2>/dev/null | grep -q 'GNU grep' ; then
alias grep="grep --color=auto"
alias egrep="egrep --color=auto"
fi
|