1
0
Fork 0
mirror of https://codeberg.org/Mo8it/dotfiles.git synced 2024-10-17 20:52:40 +00:00

Add typst command

This commit is contained in:
Mo 2024-01-28 18:29:55 +01:00
parent 8b8a0ad6b6
commit c54acf7a75

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}}'"