Make prun commands simpler
This commit is contained in:
parent
c759af0a89
commit
1c57185d61
1 changed files with 3 additions and 2 deletions
|
@ -247,8 +247,9 @@ 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 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'
|
||||
export _acp_podman_run='podman run --rm --interactive --tty --security-opt label=disable'
|
||||
alias adoc='$_acp_podman_run --volume "$(pwd)":/documents docker.io/asciidoctor/docker-asciidoctor'
|
||||
alias prun='$_acp_podman_run --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'
|
||||
|
||||
# Set up SSH agent if it's not already running.
|
||||
|
|
Loading…
Reference in a new issue