Shell-Turtlestein
Shell-Turtlestein copied to clipboard
Running commands on bash
Hi there,
I love turtlestein concept, however I'm not managing to get the most of out it. I've set my user settings like this:
{
"surround_cmd": ["source ~/.bashrc &&", ""]
}
However, when I run a command what I get is:
/bin/sh: 1: source: not found
does this mean commands are run in /bin/sh
? any way I can get bash for my commands? I want to load my .bashrc
for loading Python virtualenvs.
Thanks, cheers Miguel
Try "surround_cmd": [". ~/.bashrc &&", ""]
Sent from my phone
On Jun 25, 2013, at 6:46 AM, Miguel Araujo [email protected] wrote:
"surround_cmd": ["source ~/.bashrc &&", ""]
Hello,
I have the same problem adding that line does not seam to help either. It seams that all commands are ran thru /bin/sh. If I run commands directly in /bin/sh and do ". ~/.bashrc" after that I can run my aliases. Using the surround_cmd just give this error:
/bin/sh: 1: ll: not found [Finished in 0.0s with exit code 127]
I am having the same sort of problem. I am using fishshell and have written a function (alias in other shells) for it. But I can't run in from Mr. Turtlestein.