DevAlien / workspaces

Workspaces app for linux elementaryos gtk
GNU General Public License v3.0
79 stars 13 forks source link

Can't find commands when running custom command in Terminal #42

Open cassidyjames opened 4 years ago

cassidyjames commented 4 years ago

I'm trying to use the custom command to serve a jekyll site; however, it seems like I can't use any apps or commands from that context; maybe I'm misunderstanding how this should be used?

But for example, if I use a custom command of cd ~/Projects/elementary/blog; bundle exec jekyll serve I get a bunch of issues:

Am I using this custom command wrong? How would you recommend someone do something like serve a jekyll site with Workspaces?

Using Workspaces 3.1.0 from AppCenter.

DevAlien commented 4 years ago

The custom command was thought for something simple app + flags etc like screenshot -c -x or whatever. But you are already thew second person asking for a more complex thing.

For what you want to do we baiscally need to set a directory where to launch a command. (we could do this workspace wise?)

Then there should be a way to load your .bashrc file I guess for aliases and everything.

What I suggest you for the moment is create an alias on your bashrc file to execute that command. Then in your custom command you can type something like this: bash -i -c 'my-alias'

it-s commented 4 years ago

The custom command was thought for something simple app + flags etc like screenshot -c -x or whatever.

Hi @DevAlien , Issue is that simple commands are not working either. cd /home is not a complex command, and yet it fails with Failed to execute child process “cd” (No such file or directory) Am I missing something?

Thanks