Omit empty lines from youtube history file
This commit is contained in:
parent
64cef4d0c4
commit
67a5a25163
1 changed files with 1 additions and 1 deletions
|
@ -14,7 +14,7 @@ youtubesearch() {
|
|||
|
||||
searchmenu() {
|
||||
HISTORY="$(
|
||||
tac "$HISTORY_FILE" | nl | sort -uk 2 | sort -k 1 | cut -f 2 |
|
||||
tac "$HISTORY_FILE" | nl | sort -uk 2 | sort -k 1 | cut -f 2 | grep . |
|
||||
sed "s#^#History: #g"
|
||||
)"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue