Open RuiNtD opened 3 weeks ago
You need to use forward slashes, works everywhere. Difficult to know if I should escape or not. That alias wouldn't work directly either.
alias:
- name: curl
if: eq .OS "windows"
value: '{{ .Home }}\scoop\shims\curl.exe'
I use {{ .Home }}
all over my config, so just changing everything to forward slashes isn't that easy.
@RuiNtD interesting. Let me see how that could be solved.
This was fixed in Nushell 0.94.2 via https://github.com/nushell/nushell/pull/13027
Code of Conduct
What happened?
Nu gives an error trying to add an alias
What OS are you seeing the problem on?
Windows
Which shell are you using?
nu