DEV Community

Discussion on: Configuring wsltty Which Is My Favorite Windows WSL Terminal

Collapse
 
thomasguy profile image
Thomas Guy • Edited

Hi Nick I like wsltty but have a config problem. echo $PATH ... my home/tom/.local/bin is not on the path. I can manually get there with source .profile. Not sure where to config this for wsltty?
thanks Tom

Collapse
 
nickjj profile image
Nick Janetakis

You can add that to your $PATH in your ~/.profile file.

Here's a link to my dotfiles: github.com/nickjj/dotfiles/blob/33...

Collapse
 
thomasguy profile image
Thomas Guy

Thanks Nick,
the path is already in .profile. I have no problems in Ubuntu terminal if I echo $PATH there the path is there, but not when i do the same in wsltty ?

I'm presently 25% through you Flask App Course thanks a lot for that I've learnt a lot already.

So basically I can't use docker-compose from wsltty ? (unless I manually do 'source .profile' to get the $PATH to update). I spent this morning doing a full reinstall and followed your docker tips to get WSL Docker working and it does in Ubuntu shell...

Is there not a config file for wsltty in %APPDATA% or a minttyrc somewhere?
I'm using windows10 pro with WSL-Ubuntu18.04

thanks Tom Guy

Thread Thread
 
nickjj profile image
Nick Janetakis

Are you using Bash or another shell? There's nothing different about wsltty to cause it to not load that file if you're using Bash.

It works great with Docker Compose. It's what I use personally and I don't manually source any files. I just open wsltty and start running Docker commands (or any Linux command).

There is a config file for mintty but nothing is needed to be configured to get your PATH set up. I have my wsltty config in my dotfiles at: github.com/nickjj/dotfiles/blob/ma...

It's mainly just settings for various wsltty specific UI things.

All of the PATH related things would be done inside of WSL (unrelated to your terminal).

Maybe double check your ~/.bashrc file to see if the PATH is being overridden there.