[New] aliases: skip leading blank lines in alias file

This commit is contained in:
Jordan Harband
2023-10-23 14:06:19 -07:00
parent 6aeab3349c
commit 8241287349
3 changed files with 22 additions and 1 deletions

2
nvm.sh
View File

@@ -1141,7 +1141,7 @@ nvm_alias() {
return 2
fi
command cat "${NVM_ALIAS_PATH}"
command awk 'NF' "${NVM_ALIAS_PATH}"
}
nvm_ls_current() {