tmux-sessionizer: preview
This commit is contained in:
parent
9fee4f6f3d
commit
581d729b79
1 changed files with 2 additions and 1 deletions
|
@ -15,7 +15,8 @@ let
|
||||||
if [[ $# -eq 1 ]]; then
|
if [[ $# -eq 1 ]]; then
|
||||||
selected=$1
|
selected=$1
|
||||||
else
|
else
|
||||||
selected=$(find -L ${lib.concatStringsSep " " cfg.paths} -mindepth 1 -maxdepth 1 -type d | fzf)
|
selected=$(find -L ${lib.concatStringsSep " " cfg.paths} -mindepth 1 -maxdepth 1 -type d \
|
||||||
|
| fzf --tmux center --preview="ls {} --color || true")
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ -z $selected ]]; then
|
if [[ -z $selected ]]; then
|
||||||
|
|
Loading…
Reference in a new issue