broot
broot copied to clipboard
Username with one or more spaces causes an error
Steps to reproduce
- (optional) change your username to include one or more spaces
- If you have already br installed, run
br --install
- run
broot --install
- the command above creates $HOME\Documents\WindowsPowershell\Profile.ps1 with the following contents (when username is "User Name")
. C:\Users\User\ Name\AppData\Roaming\dystroy\broot\config\launcher\powershell\br.ps1
Possible solution
Use $HOME environment variable instead so windows will automatically expand it on execution appropriately.