added gitgraph alias

This commit is contained in:
Brad Ganley 2023-11-24 16:05:34 -06:00
parent 70db551648
commit ba234a0dad

View File

@ -122,6 +122,7 @@ 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'
alias ytdlp='docker run --rm -v "/nasty/ytdl:/media" -it jauderho/yt-dlp:latest '
# Misc
# Get the weather. Put your location after the command
alias wttr='ansiweather -u imperial -s false -l'
@ -144,7 +145,7 @@ alias tootctl='docker exec -it -w /app/www mastodon bin/tootctl'
alias hackingtool='docker run -it --net=host --security-opt seccomp=unconfined --privileged blackarchlinux/blackarch:latest'
# Do you need to reboot? Find out here!
alias needrs='[ -f /var/run/reboot-required ] && echo "You need to reboot"'
alias gitgraph='git log --graph --oneline --decorate'
# Countdown Timer
countdown() {
start="$(( $(date '+%s') + $1))"