Visual studio code integrated terminal path different than normal terminalstrange character in my $PATH varTo...

Manga about a female worker who got dragged into another world together with this high school girl and she was just told she's not needed anymore

Patience, young "Padovan"

Extreme, but not acceptable situation and I can't start the work tomorrow morning

Information to fellow intern about hiring?

What to wear for invited talk in Canada

How to manage monthly salary

Is there a name of the flying bionic bird?

Unbreakable Formation vs. Cry of the Carnarium

COUNT(*) or MAX(id) - which is faster?

Why was the "bread communication" in the arena of Catching Fire left out in the movie?

Can I find out the caloric content of bread by dehydrating it?

Filling an area between two curves

Where to refill my bottle in India?

What does 'script /dev/null' do?

How would photo IDs work for shapeshifters?

What is GPS' 19 year rollover and does it present a cybersecurity issue?

Domain expired, GoDaddy holds it and is asking more money

Shall I use personal or official e-mail account when registering to external websites for work purpose?

Crop image to path created in TikZ?

Does a dangling wire really electrocute me if I'm standing in water?

extract characters between two commas?

How to answer pointed "are you quitting" questioning when I don't want them to suspect

How to move the player while also allowing forces to affect it

What does "enim et" mean?



Visual studio code integrated terminal path different than normal terminal


strange character in my $PATH varTo set PATH on OS X when export PATH= don't workAll terminal commands (like ls, cd, edit, open) are returning errors on my Macneed help cleaning out my Path Variable in MacInstalling Ruby 1.9.3 OSX 10.7.4 breaks after altering PATHHow to delete old $PATH echo in Macpip not working on hombrew python 2.7 installVisual Studio Code Extensionsvisual studio code debuggerVisual Studio Code, multiple terminals doesn't work






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ height:90px;width:728px;box-sizing:border-box;
}







0















I am on MacOS Mojave and I can't figure out why visual studio code's integrated terminal has a different path variable than the normal terminal.



I have checked that VSCode opens /bin/bash (echo $SHELL yields /bin/bash).



However when executing echo $PATH in the integrated terminal it yields /usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/anaconda3/bin:/anaconda3/condabin while on the normal terminal it gives /anaconda3/bin:/anaconda3/condabin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin



They both source ~/.bash_profile which contains the following :



# added by Anaconda3 2018.12 installer
# >>> conda init >>>
# !! Contents within this block are managed by 'conda init' !!
__conda_setup="$(CONDA_REPORT_ERRORS=false '/anaconda3/bin/conda' shell.bash hook 2> /dev/null)"
if [ $? -eq 0 ]; then
eval "$__conda_setup"
else
if [ -f "/anaconda3/etc/profile.d/conda.sh" ]; then
. "/anaconda3/etc/profile.d/conda.sh"
CONDA_CHANGEPS1=false conda activate base
else
export PATH="/anaconda3/bin:$PATH"
fi
fi
unset __conda_setup


Even after sourcing ~/.bash_profile in the integrated terminal, /anaconda3/bin is at the end while ~/.bash_profile prepends it which is confusing.



I think the default path must be added after bash_profile is sourced in the integrated terminal? Not sure how it works



I am hesitating to post this as an issue in the vscode repo but I just wanted to make sure it isn't my understanding that is off.










share|improve this question







New contributor




Badr Youbi Idrissi is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.



























    0















    I am on MacOS Mojave and I can't figure out why visual studio code's integrated terminal has a different path variable than the normal terminal.



    I have checked that VSCode opens /bin/bash (echo $SHELL yields /bin/bash).



    However when executing echo $PATH in the integrated terminal it yields /usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/anaconda3/bin:/anaconda3/condabin while on the normal terminal it gives /anaconda3/bin:/anaconda3/condabin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin



    They both source ~/.bash_profile which contains the following :



    # added by Anaconda3 2018.12 installer
    # >>> conda init >>>
    # !! Contents within this block are managed by 'conda init' !!
    __conda_setup="$(CONDA_REPORT_ERRORS=false '/anaconda3/bin/conda' shell.bash hook 2> /dev/null)"
    if [ $? -eq 0 ]; then
    eval "$__conda_setup"
    else
    if [ -f "/anaconda3/etc/profile.d/conda.sh" ]; then
    . "/anaconda3/etc/profile.d/conda.sh"
    CONDA_CHANGEPS1=false conda activate base
    else
    export PATH="/anaconda3/bin:$PATH"
    fi
    fi
    unset __conda_setup


    Even after sourcing ~/.bash_profile in the integrated terminal, /anaconda3/bin is at the end while ~/.bash_profile prepends it which is confusing.



    I think the default path must be added after bash_profile is sourced in the integrated terminal? Not sure how it works



    I am hesitating to post this as an issue in the vscode repo but I just wanted to make sure it isn't my understanding that is off.










    share|improve this question







    New contributor




    Badr Youbi Idrissi is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.























      0












      0








      0








      I am on MacOS Mojave and I can't figure out why visual studio code's integrated terminal has a different path variable than the normal terminal.



      I have checked that VSCode opens /bin/bash (echo $SHELL yields /bin/bash).



      However when executing echo $PATH in the integrated terminal it yields /usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/anaconda3/bin:/anaconda3/condabin while on the normal terminal it gives /anaconda3/bin:/anaconda3/condabin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin



      They both source ~/.bash_profile which contains the following :



      # added by Anaconda3 2018.12 installer
      # >>> conda init >>>
      # !! Contents within this block are managed by 'conda init' !!
      __conda_setup="$(CONDA_REPORT_ERRORS=false '/anaconda3/bin/conda' shell.bash hook 2> /dev/null)"
      if [ $? -eq 0 ]; then
      eval "$__conda_setup"
      else
      if [ -f "/anaconda3/etc/profile.d/conda.sh" ]; then
      . "/anaconda3/etc/profile.d/conda.sh"
      CONDA_CHANGEPS1=false conda activate base
      else
      export PATH="/anaconda3/bin:$PATH"
      fi
      fi
      unset __conda_setup


      Even after sourcing ~/.bash_profile in the integrated terminal, /anaconda3/bin is at the end while ~/.bash_profile prepends it which is confusing.



      I think the default path must be added after bash_profile is sourced in the integrated terminal? Not sure how it works



      I am hesitating to post this as an issue in the vscode repo but I just wanted to make sure it isn't my understanding that is off.










      share|improve this question







      New contributor




      Badr Youbi Idrissi is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.












      I am on MacOS Mojave and I can't figure out why visual studio code's integrated terminal has a different path variable than the normal terminal.



      I have checked that VSCode opens /bin/bash (echo $SHELL yields /bin/bash).



      However when executing echo $PATH in the integrated terminal it yields /usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/anaconda3/bin:/anaconda3/condabin while on the normal terminal it gives /anaconda3/bin:/anaconda3/condabin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin



      They both source ~/.bash_profile which contains the following :



      # added by Anaconda3 2018.12 installer
      # >>> conda init >>>
      # !! Contents within this block are managed by 'conda init' !!
      __conda_setup="$(CONDA_REPORT_ERRORS=false '/anaconda3/bin/conda' shell.bash hook 2> /dev/null)"
      if [ $? -eq 0 ]; then
      eval "$__conda_setup"
      else
      if [ -f "/anaconda3/etc/profile.d/conda.sh" ]; then
      . "/anaconda3/etc/profile.d/conda.sh"
      CONDA_CHANGEPS1=false conda activate base
      else
      export PATH="/anaconda3/bin:$PATH"
      fi
      fi
      unset __conda_setup


      Even after sourcing ~/.bash_profile in the integrated terminal, /anaconda3/bin is at the end while ~/.bash_profile prepends it which is confusing.



      I think the default path must be added after bash_profile is sourced in the integrated terminal? Not sure how it works



      I am hesitating to post this as an issue in the vscode repo but I just wanted to make sure it isn't my understanding that is off.







      macos path visual-studio-code .bash-profile macos-mojave






      share|improve this question







      New contributor




      Badr Youbi Idrissi is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.











      share|improve this question







      New contributor




      Badr Youbi Idrissi is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      share|improve this question




      share|improve this question






      New contributor




      Badr Youbi Idrissi is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      asked 2 days ago









      Badr Youbi IdrissiBadr Youbi Idrissi

      11




      11




      New contributor




      Badr Youbi Idrissi is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.





      New contributor





      Badr Youbi Idrissi is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






      Badr Youbi Idrissi is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






















          0






          active

          oldest

          votes












          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "3"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });






          Badr Youbi Idrissi is a new contributor. Be nice, and check out our Code of Conduct.










          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1422185%2fvisual-studio-code-integrated-terminal-path-different-than-normal-terminal%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes








          Badr Youbi Idrissi is a new contributor. Be nice, and check out our Code of Conduct.










          draft saved

          draft discarded


















          Badr Youbi Idrissi is a new contributor. Be nice, and check out our Code of Conduct.













          Badr Youbi Idrissi is a new contributor. Be nice, and check out our Code of Conduct.












          Badr Youbi Idrissi is a new contributor. Be nice, and check out our Code of Conduct.
















          Thanks for contributing an answer to Super User!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1422185%2fvisual-studio-code-integrated-terminal-path-different-than-normal-terminal%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Why not use the yoke to control yaw, as well as pitch and roll? Announcing the arrival of...

          Couldn't open a raw socket. Error: Permission denied (13) (nmap)Is it possible to run networking commands...

          VNC viewer RFB protocol error: bad desktop size 0x0I Cannot Type the Key 'd' (lowercase) in VNC Viewer...