Comments (3)
The nushell equivalent is to use string interpolation.
nvim $"($env.LOCALAPPDATA)/nvim/init.lua"
Here's another way
nvim ([$env.LOCALAPPDATA nvim init.lua] | path join)
There are probably more ways too.
from nushell.
@ni554n you can do $env.LOCALAPPDATA
but im not sure how you would expand this to a path
$env.LOCALAPPDATA\some\path
does not seem to work
from nushell.
thats pretty confusing for such a basic thing in my opinion.
I think something like this $env.LOCALAPPDATA\some\path
should also work.
from nushell.
Related Issues (20)
- regression(0.91.1): binary `| each { table }` HOT 3
- Relative dates sometimes reported incorrectly HOT 2
- Construct datetime from record HOT 2
- Strange tab completion behavior with multi-line command usage HOT 4
- Better TAB Completion HOT 3
- Add --not(-n) flag to 'str starts-with' and 'str ends-with'
- Extern reexports don't work with `help` HOT 1
- Copying files to a fuse-mounted iPhone directory fails HOT 1
- String interpolation for backtick-quoted paths HOT 8
- Divan benchmarking tracking HOT 4
- `\'` is not working for single-quoted strings HOT 2
- `[1 2 3] | select (-2)` makes nushell unresponsive HOT 3
- auto complete ssh/scp hosts configured in .ssh/config HOT 1
- nu crashes (panic) when running `su` HOT 2
- Inconsistent string parsing HOT 1
- interrupt `each` command
- url parse | url join doesn't roundtrip when there is a url encoded query string
- Nushell doesn't seem to clean up alt terminal modes on Windows HOT 9
- How to make esc exit the nushell window HOT 7
- Allow closures for markers when defining menus
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nushell.