zquestz / s

Open a web search in your terminal.
MIT License
2.32k stars 114 forks source link

subl: command not found #115

Closed ivanthemeh closed 8 years ago

ivanthemeh commented 8 years ago

I installed this package using brew and I try to use it and it tells me bash: subl: command not found I havent installed sublime text or anything like that and I cant find an alias so Im not sure whats going on.

KeizerDev commented 8 years ago

It shouldn't ask for that, can you show me what you did, exactly. Like the install command and the run command.

ivanthemeh commented 8 years ago

brew install s-search

s puppies

ivanthemeh commented 8 years ago

I have been messing around in bash today learning some new things so I may have messed something up but I dont have any aliases set or anything.. or anything installed close to subl

ivanthemeh commented 8 years ago

I even tried to set an alias for s and it didnt work :(

ivanthemeh commented 8 years ago

  Any ideas?

KeizerDev commented 8 years ago

I think locate s | grep bin/s would give you the path of s. You should check if it exists and if you can run it using the absolute path

Should wait for @zquestz to answer

zquestz commented 8 years ago

First just try /usr/local/bin/s puppies. If that works then there is a $PATH issue or an alias hiding somewhere.

ivanthemeh commented 8 years ago

Ok so I was able to run it using /usr/local/bin/s puppies but I am not able to fix it, I tried to add an alias in bash_profile for the line /usr/local/bin/s and it tells me