Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Running commands on bash #47

Open
maraujop opened this issue Jun 25, 2013 · 3 comments
Open

Running commands on bash #47

maraujop opened this issue Jun 25, 2013 · 3 comments

Comments

@maraujop
Copy link

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

@misfo
Copy link
Owner

misfo commented Jun 26, 2013

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 &&", ""]

@VeridionRO
Copy link

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]

@MalcolmK
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants