1
0
Fork 0
mirror of https://github.com/notwa/rc synced 2024-06-26 09:07:12 -07:00

remove redundant default

This commit is contained in:
Connor Olding 2021-07-30 16:31:21 -07:00
parent 04e5cce6dd
commit adc53a5b68

View File

@ -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] '