commit bc4d4b1b0893fcec07fd093487707fbc4c33fe8d
parent 443c1cc42fddd45ae31cd234daa79fc7378c28f5
Author: Jacob R. Edwards <jacobouno@protonmail.com>
Date: Mon, 30 Nov 2020 16:28:45 -0800
Fix escaped IFS characters in cd shell function arguments
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/shell/.config/shell/cd b/modules/shell/.config/shell/cd
@@ -1,7 +1,7 @@
# cd builtin shell aliases and functions
# record directories visited into the PWDLOG file.
-cd() { builtin cd $@ && echo $PWD >> $PWDLOG ;}
+cd() { builtin cd "$@" && echo $PWD >> $PWDLOG ;}
# list unique entries in PWDLOG.
cdl() {