Skip to content

Commit

Permalink
Merge commit pull request huyng#22 from upstream.
Browse files Browse the repository at this point in the history
  • Loading branch information
tarobun committed Mar 29, 2017
2 parents 379c3d2 + 1997588 commit 5157bd2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bashmarks.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ function s {
_bookmark_name_valid "$@"
if [ -z "$exit_message" ]; then
_purge_line "$SDIRS" "export DIR_$1="
CURDIR=$(echo $PWD| sed "s#^$HOME#\$HOME#g")
CURDIR=$(echo $PWD | sed "s#^$HOME#\$HOME#g" | sed "s/ /\ /g")
echo "export DIR_$1=\"$CURDIR\"" >> $SDIRS
fi
}
Expand Down

0 comments on commit 5157bd2

Please sign in to comment.