Use ${PWD} instead of $(pwd)
Don't subshell when there's a shell parameter for it.
This commit is contained in:
@@ -449,7 +449,7 @@ _bash-it-restart() {
|
||||
_about 'restarts the shell in order to fully reload it'
|
||||
_group 'lib'
|
||||
|
||||
saved_pwd=$(pwd)
|
||||
saved_pwd="${PWD}"
|
||||
|
||||
case $OSTYPE in
|
||||
darwin*)
|
||||
|
||||
Reference in New Issue
Block a user