Use $PWD instead of \pwd\``

Don't subshell when there's a shell parameter for it.
This commit is contained in:
John D Pell
2021-09-05 17:28:54 -07:00
parent 0dbf1d593c
commit 1f6d6aa147
2 changed files with 3 additions and 3 deletions

View File

@@ -86,7 +86,7 @@ S () {
sed "/$@/d" ~/.dirs > ~/.dirs1;
\mv ~/.dirs1 ~/.dirs;
echo "$@"=\"`pwd`\" >> ~/.dirs;
echo "$@"=\""${PWD}"\" >> ~/.dirs;
source ~/.dirs ;
}