make hypens or defined
This commit is contained in:
parent
634e165d47
commit
877f05a54b
1 changed files with 2 additions and 1 deletions
|
@ -1,3 +1,4 @@
|
||||||
#!/usr/bin/env zsh
|
#!/usr/bin/env zsh
|
||||||
|
|
||||||
mv -i "$1" "${1// /}"
|
replace=${2:--}
|
||||||
|
mv -i "$1" "${1// /${replace}}"
|
||||||
|
|
Loading…
Add table
Reference in a new issue