telerik / mobile-cli-lib

Contains common infrastructure for CLIs - mainly AppBuilder, NativeScript, DDB and Proton.
Apache License 2.0
11 stars 10 forks source link

Remove .bash_profile alter for autocomplete #1358 #967

Closed yyosifov closed 7 years ago

yyosifov commented 7 years ago
  1. When we turn the autocomplete ON, for users which don't have .bash_profile we create one and add source ~/.tnsrc there.
  2. This breaks users without .bash_profile files, as their Terminal has automatically been picking .bashrc and now it's not sourced in .bash_profile, therefore they lose their environment variables which is bad.
  3. So we're left sourcing the .tnsrc file only in .bashrc and .zshrc. In case user has bash_profile, he would have sourced the .bashrc there.
justcodebuilduser commented 7 years ago

:heart: