struct: standard file structure (#11)

* mass change. staged, not tested

* still mass changed without test

* bug fix

* bug fix
This commit is contained in:
2022-08-26 20:43:00 +08:00
committed by GitHub
parent f313a6887e
commit 8782121dcc
9 changed files with 220 additions and 201 deletions

11
scripts/dogo Executable file
View File

@@ -0,0 +1,11 @@
#!/bin/bash
THIS_DIR=$( cd "$( dirname "${BASH_SOURCE[0]:-${(%):-%x}}" )" && pwd )
DOTFILES=${DOTFILES:-$( cd "$THIS_DIR/.." && pwd )}
source "$DOTFILES/tools/common.sh"
if [[ -z "$1" || "$1" =~ "-h|--help" ]]; then
fmt_info "usage: dogo <container>"
else
$SUDO docker exec -it $1 zsh
fi