imprv: prompts
This commit is contained in:
@@ -136,6 +136,7 @@ while true; do
|
||||
--ansi \
|
||||
--reverse \
|
||||
--delimiter="\t" \
|
||||
--prompt="$(printf "$ARTIST_PROMPT" "$3")" \
|
||||
--accept-nth="{2}" \
|
||||
--with-nth="{1}"
|
||||
)
|
||||
@@ -150,13 +151,14 @@ while true; do
|
||||
--no-sort \
|
||||
--disabled \
|
||||
--delimiter="\t" \
|
||||
--accept-nth="{1}" \
|
||||
--prompt="$SEARCH_PROMPT" \
|
||||
--accept-nth="{1} {2}" \
|
||||
--with-nth="{2}" \
|
||||
--preview-window="wrap" \
|
||||
--preview="$0 --internal-preview-artist {1}" \
|
||||
--bind="change:execute-silent($0 --internal-search \$FZF_QUERY &)+reload($0 --internal-reload)"
|
||||
)
|
||||
[ "$sel" ] && set -- "--show-artist" "$sel"
|
||||
[ "$sel" ] && set -- "--show-artist" "$(echo "$sel" | cut -d " " -f 1)" "$(echo "$sel" | cut -d " " -f2-)"
|
||||
;;
|
||||
esac
|
||||
done
|
||||
|
Reference in New Issue
Block a user