j
k
j a
j l
TO ALL.
...+cd $script
+cd $script
Please always use "$xxx" for cd for safety reason.
cd $SCRIPT_DIR => cd "$SCRIPT_DIR"
Then it'll show error if $SCRIPT_DIR is empty, instead of silently cd into $HOME.
Thanks, Fengguang
Back to the thread
Back to the list