mirror of
https://forge.katzen.cafe/schrottkatze/nix-configs.git
synced 2024-11-25 06:18:44 +01:00
fix one commnd and add some aliases
This commit is contained in:
parent
6687b0ff4a
commit
bcd35b8be4
|
@ -812,7 +812,7 @@ def ed [
|
||||||
] {
|
] {
|
||||||
let ext = $file | path parse | get extension;
|
let ext = $file | path parse | get extension;
|
||||||
match $ext {
|
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
|
hx $file
|
||||||
}
|
}
|
||||||
|
@ -829,3 +829,8 @@ alias gp = git push;
|
||||||
alias gl = git pull;
|
alias gl = git pull;
|
||||||
alias gs = git status;
|
alias gs = git status;
|
||||||
alias clip = xclip -selection c;
|
alias clip = xclip -selection c;
|
||||||
|
|
||||||
|
alias cr = cargo run;
|
||||||
|
alias cl = cargo clippy;
|
||||||
|
alias cb = cargo build;
|
||||||
|
alias cch = cargo check;
|
||||||
|
|
Loading…
Reference in a new issue