open binaryfile.txt | into binary
nurun --log-level trace --log-exclude '[nu_parser, nu_cli, nu_utils, nu::config_files]'
- nu-engine/src/eval.rs is where the eval happens
- How data in nushell gets printed out via the repl
cheat-sheet --output list --input string
cheat-sheet --input list --output table
cargo test --workspace --exclude nu_plugin_*
toolkit test
bare words: foo, foo-bar, bar_baz
bare words with spaces:
`foo bar` `hello world`
strings: "foo", 'foo-bar'
bash: /foo\ bar/
bash:
cd Some\ Dir
Nushell:
cd `Some Dir`
source $'($nu.default-config-dir)/config.nu'
source $'([($nu.default-config-dir) config.nu] | path join)'
source ($"($nu.default-config-dir)" + '/config.nu')
Description of the concept which is constants
The key takeaway here is source and use work with constants. Now that some string interpolations are constants, you can do this type of thing. You can also do this type of thing
const f = "foo.nu"
source $f
again, because f is constant.
source toolkit.nu
fmt
clippy
test
test stdlib
This gets moved out to another location after some time
# Note you have to put the --env after def in order for this to work
def --env changedir [] {
cd /Users/ma/j/tmp17/nunotes
}