diff --git a/.config/fish/config.fish b/.config/fish/config.fish index ef7eaec..14830b5 100644 --- a/.config/fish/config.fish +++ b/.config/fish/config.fish @@ -26,7 +26,7 @@ if status is-interactive abbr -a -g sage "podman pull $sagemath_image; podman run -it --rm $sagemath_image" abbr -a -g sage-jupyter "podman pull $sagemath_image; podman run -it --rm -p8888:8888 $sagemath_image sage-jupyter" - set -l fedora_image registry.fedoraproject.org/fedora:latest + set -l fedora_image registry.fedoraproject.org/fedora:(rpm -E %fedora) abbr -a -g fedora "podman pull $fedora_image; podman run -it --rm $fedora_image" set -l asciidoctor_image docker.io/asciidoctor/docker-asciidoctor:latest @@ -78,6 +78,12 @@ if status is-interactive disown end + function build_sh + podman start build + podman exec -it build bash + podman stop -t 0 build + end + ## Taskwarrior function ta -w task -d "Add no priority task" task add project:$argv[1] $argv[2..]