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

Fixes command mode for fish #227

Merged
merged 1 commit into from
Apr 4, 2016

Conversation

uri
Copy link
Contributor

@uri uri commented Apr 4, 2016

Not running appendAliasExpand when fish is set as shell.

See #226 for more details.

Not running appendAliasExpand when fish is set as shell.
@facebook-github-bot
Copy link

Thank you for your pull request and welcome to our community. We require contributors to sign our Contributor License Agreement, and we don't seem to have you on file. In order for us to review and merge your code, please sign up at https://code.facebook.com/cla - and if you have received this in error or have any questions, please drop us a line at [email protected]. Thanks!

@@ -170,7 +170,9 @@ def appendAliasExpansion():
# despite documentation hinting otherwise.
#
# so here we must ask bash to turn on alias expansion.
appendToFile("""
shell = os.environ.get('SHELL')
if 'fish' not in shell:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

couldhave just done if fish in shell: return but nbd

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good to know for next time!

@pcottle
Copy link
Contributor

pcottle commented Apr 4, 2016

Thanks for the fix!!

@pcottle pcottle merged commit 0aa1bad into facebook:master Apr 4, 2016
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.

3 participants