From f6e737e08204b39a5be02caa1f4a0cb1a8ebbdfc Mon Sep 17 00:00:00 2001 From: Mo8it Date: Sat, 14 May 2022 02:14:13 +0200 Subject: [PATCH] Update fedora container --- .config/fish/config.fish | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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..]