Sorry for the basic question here, but I can't seem to find an answer anywhere. I want to alias a command that will ssh and then open up bbedit all in 1 command.
alias bbb 'ssh NAME@SERVER bbedit'
returns:
bash: bbedit: command not found
It returns this same thing for anything except super-basic commands such as "ls" or "pwd". So it's almost as if it's not initializing my .bashrc or something? I don't quite understand it.
This works:
alias bbb 'ssh NAME@SERVER open /Applications/BBedit.app'
but unfortunately I need the bbedit command-line tool to add other options.
Any help would be appreciated. Thanks!
ps. First post so sorry if this is in the wrong place.