mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-08-07 06:08:39 +02:00
Fix the if condition. Strings vs numbers.
This commit is contained in:
parent
e584cf2f7d
commit
5978418681
1 changed files with 1 additions and 1 deletions
|
|
@ -68,7 +68,7 @@ sprunge() {
|
||||||
done | curl -F 'sprunge=<-' http://sprunge.us)
|
done | curl -F 'sprunge=<-' http://sprunge.us)
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$syntax" -ne "text" ]; then
|
if [ "$syntax" != "text" ]; then
|
||||||
echo "$url?$syntax"
|
echo "$url?$syntax"
|
||||||
else
|
else
|
||||||
echo $url
|
echo $url
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue