mirror of
https://github.com/keanuplayz/dotfiles.git
synced 2024-08-15 02:33:12 +00:00
Merge pull request #268 from dmitmel/master
[pull] master from dmitmel:master
This commit is contained in:
commit
aab6ad2098
3 changed files with 3 additions and 3 deletions
|
@ -19,7 +19,7 @@ def run_chooser(choices: Iterable[str], prompt: str = None, async_read: bool = F
|
|||
process_args = [
|
||||
"fzf",
|
||||
"--with-nth=2..",
|
||||
"--height=50%",
|
||||
"--height=40%",
|
||||
"--reverse",
|
||||
"--tiebreak=index",
|
||||
]
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/usr/bin/env sh
|
||||
set -eu
|
||||
# https://superuser.com/a/207474
|
||||
apropos . | fzf --no-multi --tiebreak=begin --query="$*" | sed -n 's/^\([^ ]\+\) \?(\([^)]\+\)).*$/\2 \1/p'
|
||||
apropos . | fzf --height=40% --reverse --no-multi --tiebreak=begin --query="$*" | sed -n 's/^\([^ ]\+\) \?(\([^)]\+\)).*$/\2 \1/p'
|
||||
|
|
|
@ -33,4 +33,4 @@ unset jq_colors
|
|||
export HOMEBREW_NO_AUTO_UPDATE=1
|
||||
|
||||
# https://github.com/junegunn/fzf/blob/764316a53d0eb60b315f0bbcd513de58ed57a876/src/tui/tui.go#L496-L515
|
||||
export FZF_DEFAULT_OPTS="--color=16"
|
||||
export FZF_DEFAULT_OPTS="--color=16 --height=40% --reverse"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue