mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-12-26 02:12:33 +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)
|
||||
fi
|
||||
|
||||
if [ "$syntax" -ne "text" ]; then
|
||||
if [ "$syntax" != "text" ]; then
|
||||
echo "$url?$syntax"
|
||||
else
|
||||
echo $url
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue