feat(zsh): add strip blank function

This commit is contained in:
Price Hiller 2023-08-20 22:58:50 -05:00
parent cedf1ffa75
commit afa284f91e
Signed by: Price
SSH Key Fingerprint: SHA256:Y4S9ZzYphRn1W1kbJerJFO6GGsfu9O70VaBSxJO7dF8

View File

@ -166,3 +166,9 @@ Unzip () {
printf "\n"
done
}
File-Strip-Blank() {
for file in "${*[@]}"; do
mv "${file}" "${file//[[:blank:]]/-}"
done
}