fix one commnd and add some aliases
This commit is contained in:
parent
6687b0ff4a
commit
bcd35b8be4
1 changed files with 6 additions and 1 deletions
|
@ -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