v3.3.2
===================================================================== --- Bug Fixes ---------------------------- - when using color, display properly in fzf
This commit is contained in:
parent
09c214f939
commit
e0cbf58b3c
@ -128,7 +128,15 @@ FZF() {
|
|||||||
exit 1
|
exit 1
|
||||||
}
|
}
|
||||||
|
|
||||||
local SELECTION=$(fzf -i --height=30% --layout=reverse --prompt "$1 : " ${@:2})
|
local FZF_ARGS=()
|
||||||
|
|
||||||
|
FZF_ARGS+=(-i)
|
||||||
|
FZF_ARGS+=(--ansi)
|
||||||
|
FZF_ARGS+=(--bind=ctrl-c:cancel)
|
||||||
|
FZF_ARGS+=(--height=50%)
|
||||||
|
FZF_ARGS+=(--layout=reverse)
|
||||||
|
|
||||||
|
local SELECTION=$(fzf ${FZF_ARGS[@]} --layout=reverse --prompt "$1 : " ${@:2})
|
||||||
PROMPT "$1"
|
PROMPT "$1"
|
||||||
echo $SELECTION >&2
|
echo $SELECTION >&2
|
||||||
echo $SELECTION
|
echo $SELECTION
|
||||||
|
Loading…
Reference in New Issue
Block a user