Skip to content

Commit

Permalink
add --tiebreaker=index since priority ordering is already baked into …
Browse files Browse the repository at this point in the history
…the result set
  • Loading branch information
27medkamal committed Jun 17, 2024
1 parent 4b04113 commit 1047b3e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/t
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ else
echo "$RESULT" |
sort -r | (if [ -n "$TMUX" ]; then grep -v " $(tmux display-message -p '#S'):"; else cat; fi) | cut -d' ' -f2-
zoxide query -l | sed -e "$HOME_REPLACER"
) | $(__fzfcmd) --reverse --print-query | tail -n 1)
) | $(__fzfcmd) --reverse --print-query --tiebreak=index | tail -n 1)
if [ -z "$RESULT" ]; then
exit 0
fi
Expand Down

0 comments on commit 1047b3e

Please sign in to comment.