# `eval':
eval '
function grep {(unset grep; ( ulimitme; grep "$@"; ); );}
- function ls {(unset ls; ( ls -bF "$@"; ); );}
- function l { ls -lbF "$@"; }
+ if ls -d -bF / &>/dev/null;then
+ function ls {(unset ls; ( ls -bF "$@"; ); );}
+ else
+ # Alpine Linux
+ function ls {(unset ls; ( ls "$@"; ); );}
+ fi
+ function l { ls -l "$@"; }
if which vim &>/dev/null;then
alias vi="vim"
else
export HISTFILESIZE="$HISTSIZE"
export GDBHISTFILE="$HOME/.gdb_history"
export CVS_RSH="ssh"
-export TZ="Europe/Prague"
-#export TZ="Canada/Eastern"
+export TZ="Asia/Manila"
+#export TZ="Europe/Prague"
+if [ "$TZ" = Asia/Manila ];then
+ alias date='TZ=Asia/Manila date;TZ=Europe/Prague date'
+fi
export PYTHONUNBUFFERED=1
export ASAN_OPTIONS=detect_leaks=0
export GTK_OVERLAY_SCROLLING=0
}
function yumupdate {(ulimit -v unlimited;yum makecache;yum -y --skip-broken update "$@";);}
function gitcommit { git commit -a --allow-empty-message -m '' "$@"; }
-function git {(unset git;if [ "$1" = "checkout" ];then shift;git checkout --ignore-other-worktrees "$@";else git "$@";fi)}
function gpg {(unset gpg; http_proxy= all_proxy= HTTP_PROXY= ALL_PROXY= gpg "$@"; );}
function swap() {( set -ex;local TMPFILE=tmp.$$;[ $# = 2 ] && mv "$1" $TMPFILE && mv "$2" "$1" && mv $TMPFILE "$2" && echo done )}
alias gthumb='rm -rf ~/.cache/thumbnails/fail/;gthumb'