fix(sessionizer): typo in selected path result

This commit is contained in:
Guz
2025-02-18 19:03:52 -03:00
parent 1f96325dac
commit 19e5d84dc0

View File

@@ -12,10 +12,11 @@ function tmux_sessionizer() {
fi
done
local selected=""
if [[ $# -eq 1 ]]; then
selected="$1"
else
selected="$(find "${paths[@]}" -mindepth 1 -maxdepth 1 -type d | fzf)"]
selected="$(find "${paths[@]}" -mindepth 1 -maxdepth 1 -type d | fzf)"
fi
if [[ -z "$selected" ]]; then