Remove blank lines from launcher

This commit is contained in:
Daniel Flanagan 2020-10-09 22:53:45 -05:00
parent 111c824354
commit 506b0f6c89
Signed by: lytedev
GPG key ID: 5B2020A0F9921EF4

View file

@ -9,6 +9,7 @@ app="$(
sort | uniq -c | sort -nr | \ sort | uniq -c | sort -nr | \
sd -fm '^\s+' '' | \ sd -fm '^\s+' '' | \
cut -d' ' -f2- | \ cut -d' ' -f2- | \
grep "\S" | \
fzf fzf
)" )"
echo "$app $(date +%s)" >> "$LAUNCHER_HISTORY_FILE" echo "$app $(date +%s)" >> "$LAUNCHER_HISTORY_FILE"