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