+.config/yt-dlp.conf
[nethome.git] / .bashrc
diff --git a/.bashrc b/.bashrc
index 0696bcf..82e5139 100644 (file)
--- a/.bashrc
+++ b/.bashrc
@@ -128,8 +128,13 @@ unalias 2>/dev/null fgrep  # /etc/profile.d/colorgrep.sh
 # `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
@@ -211,7 +216,9 @@ export GDBHISTFILE="$HOME/.gdb_history"
 export CVS_RSH="ssh"
 export TZ="Asia/Manila"
 #export TZ="Europe/Prague"
-#export TZ="Canada/Eastern"
+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