added glances oneshot

This commit is contained in:
Brad Ganley 2023-11-17 23:19:16 -06:00
parent db7a01f58e
commit 70db551648

View File

@ -121,7 +121,7 @@ alias bin='nc termbin.com 9999'
alias dex='docker exec'
alias dps="docker ps --format 'CONTAINER ID: {{.ID}}\nIMAGE: {{.Image}}\nCOMMAND: {{.Command}}\nCREATED: {{.CreatedAt}}\nSTATUS: {{.Status}}\nPORTS: {{.Ports}}\nNAMES: {{.Names}}\n'|cat"
alias lzd='docker run --rm -it -v /var/run/docker.sock:/var/run/docker.sock -v ~/lzd:/.config/jesseduffield/lazydocker lazyteam/lazydocker'
alias glance='docker run --rm -e TZ="${TZ}" -v /var/run/docker.sock:/var/run/docker.sock:ro -v /run/user/1000/podman/podman.sock:/run/user/1000/podman/podman.sock:ro --pid host --network host -it nicolargo/glances:latest-full'
# Misc
# Get the weather. Put your location after the command
alias wttr='ansiweather -u imperial -s false -l'