Skip to content

Commit

Permalink
Fix some shellcheck errors
Browse files Browse the repository at this point in the history
  • Loading branch information
urbainvaes committed Mar 30, 2018
1 parent 90f3ccc commit 23de3ea
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions fzf-marks.plugin.bash
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ fi

function mark() {
local mark_to_add
mark_to_add=$(echo "$* : $(pwd)")
mark_to_add="$* : $(pwd)"

if grep -qxFe "${mark_to_add}" "${BOOKMARKS_FILE}"; then
echo "** The following mark already exists **"
Expand Down Expand Up @@ -71,7 +71,7 @@ function dmark() {
fi
}

bind "\"${FZF_MARKS_JUMP:-\C-g}\":\"jump\n\""
bind "\"${FZF_MARKS_JUMP:-\C-g}\":\"jump\\n\""
if [ "${FZF_MARKS_DMARK}" ]; then
bind "\"${FZF_MARKS_DMARK}\":\"dmark\n\""
bind "\"${FZF_MARKS_DMARK}\":\"dmark\\n\""
fi
2 changes: 1 addition & 1 deletion fzf-marks.plugin.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ fi

function mark() {
local mark_to_add
mark_to_add=$(echo "$* : $(pwd)")
mark_to_add="$* : $(pwd)"

if grep -qxFe "${mark_to_add}" "${BOOKMARKS_FILE}"; then
echo "** The following mark already exists **"
Expand Down

0 comments on commit 23de3ea

Please sign in to comment.