Replies: 2 comments 3 replies
-
|
We don't offer expansion of env vars on the command line atm. We'd probably welcome a keybinding or some such thing to accomplish it. It's kind of the same idea as |
Beta Was this translation helpful? Give feedback.
-
|
I've been using nushell for a couple of weeks and variable expansion is something I used a lot in zsh. So for now I'm using the following (very rough) workaround I capture the environment variables into a json file with the following
I've added the following to the $env.config.menus (in config.nu) And the following to $env.config.keybindings My keybind is ctrl-g, so how it works is, So for eg. Need to test more though |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi All,
I'm trying to get to grips with nu and wish to use it as a daily driver on Windows.
A piece of functionality I'm missing (\haven't set up?) is tab expanding environment variables on the command line to navigate file paths.
An example would be $env.APPDATA. Rather than being able to expand then continue navigating sub directories, I have to select return for appdata to resolve then enter the sub path as a second path.
Any guidance would be much appreciated.
Cheers.
Beta Was this translation helpful? Give feedback.
All reactions