Commits

yagnesh raghava yakkala committed d5c827b

* bash_aliases: S,R regex modification

  • Participants
  • Parent commits c42ddb3

Comments (0)

Files changed (1)

File bash_aliases

 }
 
 S () {              # SAVE a BOOKMARK
-    sed "/$@/d" ~/.dirs > ~/.dirs1;
+    sed "/$@=/d" ~/.dirs > ~/.dirs1;
     \mv ~/.dirs1 ~/.dirs;
     echo "$@"=\"`pwd`\" >> ~/.dirs;
     source ~/.dirs ;
 }
 
 R () {              # remove a BOOKMARK
-    sed "/$@/d" ~/.dirs > ~/.dirs1;
+    sed "/$@=/d" ~/.dirs > ~/.dirs1;
     \mv ~/.dirs1 ~/.dirs;
 }