* find file or directory that name can be combinable by NFC/NFKC
[lab.git] / TipAndDoc / .bash_profile
index 21e6365..565580a 100644 (file)
@@ -1,3 +1,10 @@
+# add /usr/local/sbin, /usr/sbin, /sbin to $PATH
+echo $PATH | grep /usr/local/sbin 1> /dev/null 2> /dev/null
+if [ ! $? = 0 ]; then
+    PATH=/usr/local/sbin:/usr/sbin:/sbin:$PATH
+fi
+
+
 # set PATH so it includes user's private bin if it exists
 if [ -d "$HOME/.bin" ] ; then
     PATH="$HOME/.bin:$PATH"