From bcd35b8be4157a0ce696603aae20406bdc542281 Mon Sep 17 00:00:00 2001 From: Schrottkatze Date: Tue, 27 Feb 2024 18:19:11 +0100 Subject: [PATCH] fix one commnd and add some aliases --- other/config.nu | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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;