Use $PWD instead of \pwd\``
Don't subshell when there's a shell parameter for it.
This commit is contained in:
@@ -86,7 +86,7 @@ S () {
|
||||
|
||||
sed "/$@/d" ~/.dirs > ~/.dirs1;
|
||||
\mv ~/.dirs1 ~/.dirs;
|
||||
echo "$@"=\"`pwd`\" >> ~/.dirs;
|
||||
echo "$@"=\""${PWD}"\" >> ~/.dirs;
|
||||
source ~/.dirs ;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user