Fix adoc pwd

This commit is contained in:
Anthony Rose 2023-01-13 15:04:37 +00:00
parent 1e2034cf79
commit 440cfe6233

View file

@ -244,7 +244,7 @@ then
_acp_add_path "$GOPATH/bin"
fi
alias adoc='podman run --rm --interactive --tty --security-opt label=disable --volume "$PWD":/documents docker.io/asciidoctor/docker-asciidoctor'
alias adoc='podman run --rm --interactive --tty --security-opt label=disable --volume "$(pwd)":/documents docker.io/asciidoctor/docker-asciidoctor'
alias prun='podman run --rm --interactive --tty --security-opt label=disable --volume "$HOME":"$HOME" --volume "$XDG_RUNTIME_DIR":"$XDG_RUNTIME_DIR" --env XDG_RUNTIME_DIR="$XDG_RUNTIME_DIR" --env XDG_SESSION_TYPE=wayland --ipc host'
alias pruncerts='prun --volume /etc/pki/ca-trust:/etc/pki/ca-trust:ro --volume /etc/ssl/certs:/etc/ssl/certs:ro'