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

Test on Windows WSL 2 #11

Open
benjivesterby opened this issue Dec 15, 2021 · 1 comment
Open

Test on Windows WSL 2 #11

benjivesterby opened this issue Dec 15, 2021 · 1 comment
Labels
documentation Improvements or additions to documentation testing

Comments

@benjivesterby
Copy link
Member

Determine if this runs properly on WSL 2 running ubuntu.

Correct issues if it doesn't and update documentation to list as supported.

@benjivesterby benjivesterby added documentation Improvements or additions to documentation testing labels Dec 15, 2021
@madewithsalt
Copy link

In order for this to work, the $PATH needs to be updated in the .profile in root, instead of .bashrc.

Here's a sample of my .profile from a fresh install of Ubuntu on WSL2:

# ~/.profile: executed by the command interpreter for login shells.
# This file is not read by bash(1), if ~/.bash_profile or ~/.bash_login
# exists.
# see /usr/share/doc/bash/examples/startup-files for examples.
# the files are located in the bash-doc package.

# the default umask is set in /etc/profile; for setting the umask
# for ssh logins, install and configure the libpam-umask package.
#umask 022

# if running bash
if [ -n "$BASH_VERSION" ]; then
    # include .bashrc if it exists
    if [ -f "$HOME/.bashrc" ]; then
	. "$HOME/.bashrc"
    fi
fi

# set PATH so it includes user's private bin if it exists
if [ -d "$HOME/bin" ] ; then
    PATH="$HOME/bin:$PATH"
fi

# set PATH so it includes user's private bin if it exists
if [ -d "$HOME/.local/bin" ] ; then
    PATH="$HOME/.local/bin:$PATH"
fi

export PATH="/home/kcent/.gvm/go/bin:$PATH"


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation testing
Projects
None yet
Development

No branches or pull requests

2 participants