improved new selector
This commit is contained in:
parent
ad32fcdb0f
commit
9291137b94
@ -350,7 +350,7 @@ if [ "${1:-}" = "--goto" ]; then
|
||||
fi
|
||||
|
||||
if [ "${1:-}" = "--new" ]; then
|
||||
collection=$(echo "$COLLECTION_LABELS" | tr ';' '\n' | $FZF --delimiter='=' --with-nth=2 --accept-nth=1)
|
||||
collection=$(echo "$COLLECTION_LABELS" | tr ';' '\n' | awk '/./ {print}' | $FZF --margin="30%" --no-info --delimiter='=' --with-nth=2 --accept-nth=1)
|
||||
fpath=""
|
||||
while [ -f "$fpath" ] || [ -z "$fpath" ]; do
|
||||
uuid=$($UUIDGEN)
|
||||
|
Loading…
Reference in New Issue
Block a user