Make tmux-sessionizer use fzf --exact for more precise matches

This commit is contained in:
Dave Gallant
2022-02-02 09:47:45 -05:00
parent ea9a014319
commit f12d2c3558
2 changed files with 16 additions and 29 deletions

View File

@@ -6,7 +6,7 @@
if [[ $# -eq 1 ]]; then
selected=$1
else
selected=$(find ~/src/github.com/davegallant ~/src/github.com/rewindio -mindepth 1 -maxdepth 1 -type d | fzf)
selected=$(find ~/src/github.com/davegallant ~/src/github.com/rewindio -mindepth 1 -maxdepth 1 -type d | fzf --exact)
fi
if [[ -z $selected ]]; then