Skip to content
This repository has been archived by the owner on Dec 6, 2023. It is now read-only.
This repository has been archived by the owner on Dec 6, 2023. It is now read-only.

Incorrectly creates .bash_profile file on WSL Ubuntu  #88

Open
@cdgriffith

Description

When using the windows subsystem for linux and installing avn it creates a .bash_profile. Doing so makes Ubuntu no longer load the .profile file and therefor no longer loads the .bashrc file.

Top of ~/.profile

# ~/.profile: executed by the command interpreter for login shells.
# This file is not read by bash(1), if ~/.bash_profile or ~/.bash_login
# exists.

By default nvm is loaded into bashrc and I believe avn should be added below it.

Details

  • avn 0.2.4
  • node 10.16.3
  • nvm 0.34.0
  • bash 4.4.19

avn is loaded in my ~/.bash_profile file with:

[[ -s "$HOME/.avn/bin/avn.sh" ]] && source "$HOME/.avn/bin/avn.sh" # load avn

nvm specific

  • As an nvm user I am confirming that I did not install with Homebrew

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions