In Ghostty, I think you could set a startup command that runs something like this which would save you the startup step discord.
zsh -c "exec nu"
This is a critical command / variable for understanding all of your config stuff et al in nushell !
$env.config.show_banner = false
$nu.startup-time
- cargo +1.80.1 install nu
- Always remember if things are NOT building to add --locked
- discord ref
- The --locked flag can be used to force Cargo to use the packaged Cargo.lock file if it is available.
- Hustcer recommended CliFM here on discord.
- Jakub recommended yazi
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
}