Skip to content

ConstructCommand method looks only in the .bash_profile file #8

@sahilb

Description

@sahilb

def ConstructCommand(in_command):
command = ''
if(sublime.platform() == "osx"):
command = 'source ~/.bash_profile && '
command += in_command
return command

The issue is some times the user could have .profile file or other files for shell settings.
this gives the order which shell follows for setting up the environment: http://hayne.net/MacDev/Notes/unixFAQ.html

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions