Running aliased commands?

Asked by Dan Singer on 2015-09-23

I'm trying to run a command which I've created an alias to. I've noticed that when shell commands are run, Synapse is not running with any aliased commands or environment variables which were set from my .bashrc, .bash_aliases, or .profile.

Is there a way to either define aliases to commands or have Synapse read from a file which sets environment variables/aliases before a file is executed?

Question information

Language:
English Edit question
Status:
Answered
For:
Synapse Edit question
Assignee:
No assignee Edit question
Last query:
2015-09-23
Last reply:
2015-09-29
Jeremy Munsch (jeremy-munsch) said : #1

Hi sorry to say that, but bash config files are related to your shell exclusively. Synapse use default vala language behaviors.
It is the same for python and others, otherwise you could make many program crash from making a bad bashrc.

There is no plan to parse .bashrc or alias i would guess, mainly because there are many other shells.
But maybe there could be way / need for you to come up with your won synapse plugin ?

Can you help with this problem?

Provide an answer of your own, or ask Dan Singer for more information if necessary.

To post a message you must log in.