更新 Scripts/bash_aliases
continuous-integration/drone/push Build encountered an error Details

master
evanchen 2023-09-13 04:31:15 +00:00
parent 982d4571c0
commit 6f2175ac1a
1 changed files with 4 additions and 0 deletions

View File

@ -37,6 +37,10 @@ alias images="docker images"
alias dps="docker ps -a --format 'table {{.Names}}\t{{.Status}}\t{{.Size}}\t{{.Ports}}'"
alias dstat="docker stats --format 'table {{.Name}}\t{{.CPUPerc}}\t{{.MemUsage}}\t{{.MemPerc}}\t{{.NetIO}}\t{{.BlockIO}}\t{{.PIDs}}'"
# List hosts in .ssh/config
alias hosts="grep 'Host ' ~/.ssh/config | grep '^[[:blank:]]*[^[:blank:]#;]' | awk '{print $2}'"
#self define function for git add commit push
acp(){
add;