mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-01-02 02:19:06 +01: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…
Add table
Add a link
Reference in a new issue