diff options
-rw-r--r-- | aliases | 27 | ||||
-rw-r--r-- | environment | 12 |
2 files changed, 39 insertions, 0 deletions
@@ -0,0 +1,27 @@ +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 sudo="sudo " +alias monut=mount +alias pamcan=pacman +alias ls="/bin/ls --color=auto" +alias sl=ls +alias grep="grep --color=auto" +alias egrep="egrep --color=auto" +alias xpdf="xpdf -cont" +alias feh="feh --magick-timeout=0" +alias xcp="xclip -selection c" +alias pd=popd +alias po='pushd $OLDPWD' + diff --git a/environment b/environment new file mode 100644 index 0000000..1ae64ba --- /dev/null +++ b/environment @@ -0,0 +1,12 @@ +export GPG_TTY=$(tty) +export EDITOR=/usr/bin/vim + +if $(which clang 2>/dev/null); then + export CC=clang + export CXX=clang +elif [[ $(which tcc 2>/dev/null) && !$(which gcc 2>/dev/null) ]]; then + export CC=tcc +fi + +# u=rwx,g=,o= +umask 077 |