Commits

Carl Meyer committed 63f1832

The shortened directory path is a good idea after all.

Comments (0)

Files changed (1)

     if [[ $_pwd == "~" ]]; then
         _dirname=$_pwd
     else
-        _dirname=`dirname "$_pwd" #| sed -E "s/\/(.)[^\/]*/\/\1/g"`
+        _dirname=`dirname "$_pwd" | sed -E "s/\/(.)[^\/]*/\/\1/g"`
         if [[ $_dirname == "/" ]]; then
             _dirname=""
         fi