From 6fd04abbcf018bce6d0f9a0d837b80160eccc6d9 Mon Sep 17 00:00:00 2001 From: Anthony Perkins Date: Wed, 20 May 2020 16:48:14 +0100 Subject: [PATCH] Revert "Mount the current directory as /mnt" This reverts commit 36f311ae59ef465ca436bda954889ad643ffb3e0. --- roles/home-cli/files/shrc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/roles/home-cli/files/shrc b/roles/home-cli/files/shrc index 86498cb..a0b88cf 100644 --- a/roles/home-cli/files/shrc +++ b/roles/home-cli/files/shrc @@ -174,10 +174,10 @@ if [ -x "$HOME/opt/ansible/bin/ansible" ]; then fi # Useful aliases for Podman and Docker -alias prun='podman run -v $(pwd):/mnt --rm -it' -alias prunx='podman run -v $(pwd):/mnt -v /tmp/.X11-unix:/tmp/.X11-unix:ro -e DISPLAY="unix$DISPLAY"' -alias drun='sudo docker run -v $(pwd):/mnt --rm -it' -alias drunx='sudo docker run -v $(pwd):/mnt -v /tmp/.X11-unix:/tmp/.X11-unix:ro -e DISPLAY="unix$DISPLAY"' +alias prun="podman run --rm -it" +alias prunx="podman run -v /tmp/.X11-unix:/tmp/.X11-unix:ro -e DISPLAY=\"unix\$DISPLAY\"" +alias drun="sudo docker run --rm -it" +alias drunx="sudo docker run -v /tmp/.X11-unix:/tmp/.X11-unix:ro -e DISPLAY=\"unix\$DISPLAY\"" mkcd () { if [ $# -ne 1 ]; then