mirror of
https://github.com/notwa/rc
synced 2024-06-26 09:07:12 -07:00
remove redundant default
This commit is contained in:
parent
04e5cce6dd
commit
adc53a5b68
|
@ -3,7 +3,7 @@
|
|||
# YES_BASH
|
||||
# NO_DASH
|
||||
|
||||
if [ -n "${ZSH_VERSION:-}" ]; then
|
||||
if [ -n "$ZSH_VERSION" ]; then
|
||||
confirm() {
|
||||
[ $# -le 0 ] || { printf "%s\n" "$0: too many arguments" >&2; return 1; }
|
||||
read -q '?Continue? [y/N] '
|
||||
|
|
Loading…
Reference in New Issue
Block a user