diff --git a/other/config.nu b/other/config.nu index c590b75..2903d1d 100644 --- a/other/config.nu +++ b/other/config.nu @@ -812,7 +812,7 @@ def ed [ ] { let ext = $file | path parse | get extension; match $ext { - "typ" => {|| zellij run --direction down -- typst watch $file --open ($cmdargs | str join ' ') } + "typ" => {|| zellij run --direction down -- typst watch $file ($cmdargs | prepend '--open' | str join ' ') } }; hx $file } @@ -829,3 +829,8 @@ alias gp = git push; alias gl = git pull; alias gs = git status; alias clip = xclip -selection c; + +alias cr = cargo run; +alias cl = cargo clippy; +alias cb = cargo build; +alias cch = cargo check;