myenv package update

There are three significant changes in myenv (

  1. $USER is used for userid. The only place that may cause a problem is wslhome, because the Linux userid need not be the same as the Windows userid. You can fix this problem by putting a modified wslhome command in $HOME/bin.
  2. wslhome uses the latest location (obtained from How-To Geek). The path is established in several steps corresponding to the locations where the command may fail because of permissions. You will have to use the Windows security tab to give yourself permission to access your WSL home directory. If you are not using Ubuntu, you need to change “*Ubuntu*” to match your choice of Linux systems. Remember to treat the Linux files as read-only.
  3. A machome command and MHOME environment variable are added to accommodate macOS, which uses “/Users/userid” instead of “/home/userid”. The mkzip command is changed to use $HOME/tmp because macOS links /tmp to /private/tmp.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s