1
0
Fork 0
mirror of https://codeberg.org/Mo8it/dotfiles.git synced 2024-12-02 23:33:05 +00:00

Compare commits

...

3 commits

Author SHA1 Message Date
c54acf7a75 Add typst command 2024-01-28 18:29:55 +01:00
8b8a0ad6b6 Update cwd 2024-01-28 18:29:14 +01:00
1005c4c782 Use native only for my target 2024-01-28 18:29:04 +01:00
3 changed files with 7 additions and 6 deletions

View file

@ -1,9 +1,8 @@
[target.x86_64-unknown-linux-gnu]
linker = "clang"
rustflags = ["-C", "link-arg=-fuse-ld=/usr/bin/mold"]
[build]
rustflags = [
"-C",
"link-arg=-fuse-ld=/usr/bin/mold",
"-C",
"target-cpu=native",
]

View file

@ -25,10 +25,12 @@ if status is-interactive
abbr -ag rsync "$rsync"
## Podman
abbr -ag sage "podman run --pull newer -it --rm docker.io/sagemath/sagemath:latest"
abbr -ag sage "podman run -it --rm --pull newer --name sage docker.io/sagemath/sagemath:latest"
abbr -ag typst "podman run -it --rm --pull newer --name typst -v (pwd):/volumes/src:Z ghcr.io/typst/typst:latest typst w /volumes/src/src.typ /volumes/src/output.pdf"
set -l fedora_image registry.fedoraproject.org/fedora:(rpm -E %fedora)
abbr -ag fedora "podman run --pull newer -it --rm $fedora_image"
abbr -ag fedora "podman run -it --rm --pull newer --name fedora $fedora_image"
abbr -ag pps "podman ps --format '{{.Names}}'"

View file

@ -6,7 +6,7 @@ layout {
}
}
cwd "/home/mo8it/code/hosted/oxitraffic"
cwd "/home/mo8it/code/oxitraffic"
tab name="hx" split_direction="vertical" focus=true {
pane {