feat(zsh): add strip blank function
This commit is contained in:
parent
cedf1ffa75
commit
afa284f91e
@ -166,3 +166,9 @@ Unzip () {
|
|||||||
printf "\n"
|
printf "\n"
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
||||||
|
File-Strip-Blank() {
|
||||||
|
for file in "${*[@]}"; do
|
||||||
|
mv "${file}" "${file//[[:blank:]]/-}"
|
||||||
|
done
|
||||||
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user