You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, first of all thanks for you work! I've spent so much time trying to solve this problem that I don't know anymore where to ask.
The problem is simple:
I have this alias in my .bashrc file: alias python=python3
and I'm using node-foremon in the heroku cli environment with this procfile: worker: python botcore.py.
When I try to launch that 'worker' it goes to take python2.7 (the default python) so the alias is not working (if I give python in the shell I obviously get python 3). This is due probably to the fact that aliases don't work in non interactive shells.
How can I solve this dilemma?
The text was updated successfully, but these errors were encountered:
giacomocerquone
changed the title
Alias in .bashrc not working
Alias in .bashrc not working in Procfiles
Oct 31, 2017
Hi, first of all thanks for you work! I've spent so much time trying to solve this problem that I don't know anymore where to ask.
The problem is simple:
I have this alias in my .bashrc file:
alias python=python3
and I'm using node-foremon in the heroku cli environment with this procfile:
worker: python botcore.py.
When I try to launch that 'worker' it goes to take python2.7 (the default python) so the alias is not working (if I give python in the shell I obviously get python 3). This is due probably to the fact that aliases don't work in non interactive shells.
How can I solve this dilemma?
The text was updated successfully, but these errors were encountered: