This repository has been archived by the owner on Apr 24, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 937
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e39e024
commit 5ce384f
Showing
1 changed file
with
1 addition
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -80,7 +80,7 @@ function getColorCode() { | |
echo -n "$1" | ||
fi | ||
# Check if value is none with any case. | ||
elif [[ $1 = [nN][oO][nN][eE] ]] | ||
elif [[ "${(L)1}" == "none" ]] | ||
then | ||
echo -n 'none' | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
dritter
Member
|
||
else | ||
|
Since
isSameColor()
checks forNONE
, shouldn't this beecho -n 'NONE'
?