Mount the current directory as /mnt
This commit is contained in:
parent
754b3dfc2c
commit
cfd9cb5725
1 changed files with 4 additions and 4 deletions
|
@ -174,10 +174,10 @@ if [ -x "$HOME/opt/ansible/bin/ansible" ]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Useful aliases for Podman and Docker
|
# Useful aliases for Podman and Docker
|
||||||
alias prun="podman run --rm -it"
|
alias prun='podman run -v $(pwd):/mnt --rm -it'
|
||||||
alias prunx="podman run -v /tmp/.X11-unix:/tmp/.X11-unix:ro -e DISPLAY=\"unix\$DISPLAY\""
|
alias prunx='podman run -v $(pwd):/mnt -v /tmp/.X11-unix:/tmp/.X11-unix:ro -e DISPLAY="unix$DISPLAY"'
|
||||||
alias drun="sudo docker run --rm -it"
|
alias drun='sudo docker run -v $(pwd):/mnt --rm -it'
|
||||||
alias drunx="sudo docker run -v /tmp/.X11-unix:/tmp/.X11-unix:ro -e DISPLAY=\"unix\$DISPLAY\""
|
alias drunx='sudo docker run -v $(pwd):/mnt -v /tmp/.X11-unix:/tmp/.X11-unix:ro -e DISPLAY="unix$DISPLAY"'
|
||||||
|
|
||||||
mkcd () {
|
mkcd () {
|
||||||
if [ $# -ne 1 ]; then
|
if [ $# -ne 1 ]; then
|
||||||
|
|
Loading…
Reference in a new issue