feat(enter): add documents directory
This commit is contained in:
3
enter.sh
3
enter.sh
@@ -38,6 +38,7 @@ run_args() {
|
||||
|
||||
# Mount host directories with programming projects.
|
||||
[ -d "$HOME/Code" ] && arg "-v $HOME/Code:/home/user/Code"
|
||||
[ -d "$HOME/Documents" ] && arg "-v $HOME/Documents:/home/user/Documents"
|
||||
[ -d "$HOME/.config/devcontainer" ] && arg "-v $HOME/.config/devcontainer:/home/user/.config/devcontainer"
|
||||
}
|
||||
|
||||
@@ -72,4 +73,4 @@ if [ "$force" = true ] || [ "$(podman container inspect "$name" -f {{.State.Runn
|
||||
fi
|
||||
|
||||
podman start "$name" 1>/dev/null
|
||||
podman exec --detach-keys "ctrl-q" -it "$name" bash -l
|
||||
podman exec --detach-keys "ctrl-@" -it "$name" bash -l
|
||||
|
||||
Reference in New Issue
Block a user