We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 379c3d2 + 1997588 commit 5157bd2Copy full SHA for 5157bd2
bashmarks.sh
@@ -44,7 +44,7 @@ function s {
44
_bookmark_name_valid "$@"
45
if [ -z "$exit_message" ]; then
46
_purge_line "$SDIRS" "export DIR_$1="
47
- CURDIR=$(echo $PWD| sed "s#^$HOME#\$HOME#g")
+ CURDIR=$(echo $PWD | sed "s#^$HOME#\$HOME#g" | sed "s/ /\ /g")
48
echo "export DIR_$1=\"$CURDIR\"" >> $SDIRS
49
fi
50
}
0 commit comments