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

Allow someone to append a command. i.e. load their bash profile before ... #3

Merged
merged 1 commit into from
Feb 19, 2012

Conversation

cj
Copy link
Contributor

@cj cj commented Feb 16, 2012

...running a command (source ~/.profile)

Fixes issue #2

Example:

{
  "cmd_append":"source ~/.profile",
  "cmd_config": [],
  "input_widget": {
    "syntax": "Packages/ShellScript/Shell-Unix-Generic.tmLanguage"
  }
}

Runs:

@misfo
Copy link
Owner

misfo commented Feb 16, 2012

Just curious: what is in your ~/.profile that you need sourced (other than your path)?

@cj
Copy link
Contributor Author

cj commented Feb 16, 2012

@misfo I have a few other things I set like [[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm" # Load RVM function

@misfo misfo merged commit bd63cf1 into misfo:master Feb 19, 2012
@misfo
Copy link
Owner

misfo commented Feb 19, 2012

I merged this in with a few changes for flexibility: d2830d2

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

Successfully merging this pull request may close these issues.

2 participants