Commit dc648b89 authored by Charles Ferguson's avatar Charles Ferguson
Browse files

Small change to the output message to stop warning.

The ~ character in double quotes was being reported as a warning
that it would not be expanded, from shellcheck. We know it won't
be, as we're just printing a message. Putting it in single quotes
should remove the warning.
parent 492b09b0
......@@ -603,7 +603,7 @@ if [[ -t 0 && -t 1 ]] ; then
if [[ "${dir:0:${#pwd}}" == "$pwd" ]] ; then
dir="${dir:${#pwd}}"
elif [[ "${dir:0:${#home}}" == "$home" ]] ; then
dir="~/${dir:${#home}}"
dir='~'"/${dir:${#home}}"
fi
cat <<EOM
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment