Docker aliases

This commit is contained in:
2024-05-09 16:38:31 +00:00
parent 5843fc30b6
commit 75aad7ac66
4 changed files with 31 additions and 21 deletions

View File

@@ -52,7 +52,7 @@ ngb "sudo nvim /etc/default/grub"
mgb "sudo grub-mkconfig -o /boot/grub/grub.cfg"
# a "bat"
b "bat"
b "batcat"
# ba "bat *"
awkp "awk -F',' '{print \$0}'"
cpr "cp -r"
@@ -189,7 +189,7 @@ rsy "rsync --ignore-existing -Ptr"
lhd "sudo fdisk -l"
# get disc space for mounted drives
# ds "df -h | tee >(head -n 1) >(grep sd) >/dev/null"
ds "df -h | head -n 1 && df -h | grep sd"
# ds "df -h | head -n 1 && df -h | grep sd"
chownw "sudo chown -R kevin:wheel"
chwnm "sudo chown -R kevin:wheel /run/media/{{ .chezmoi.username }}"
# cd into backup folder and show backup sizes
@@ -1169,16 +1169,26 @@ gotd "go mod tidy"
# docker [[[ #
dk "docker"
dkb "docker build"
dki "docker image"
dkka "docker kill \$(docker ps -q)"
dkl "docker ps"
dkp "docker push"
dks "docker images"
d "docker"
db "docker build"
dc "docker-compose"
dcu "docker-compose up -d"
dcd "docker-compose down"
di "docker image"
dli "docker image list"
dk "docker kill"
dka "docker kill \$(docker ps -q)"
dl "docker ps"
dp "docker push"
dr "docker run"
drm "docker remove"
drmi "docker rmi -f"
ds "docker stop"
# ]]] docker #
nt "sudo nginx -t"
sb "ansible"
sbp "ansible-playbook"

View File

@@ -31,7 +31,7 @@ std ~/st
# tm /tmp
tm ~/tmp
{{ if and (eq .chezmoi.username "root") (eq .linux_os "debian") }}
{{ if (eq .linux_os "debian") }}
ng /etc/nginx/sites-available
# sv /etc/systemd/system
{{ end }}

View File

@@ -17,7 +17,7 @@ r ~/linux-config/dot_config/ranger/rc.conf.tmpl
sr ~/linux-config/configs/ranger/shortcuts.conf
ss ~/.shortcuts
st ~/st/config.def.h
t ~/linux-config/dot_tmux.conf
# t ~/linux-config/dot_tmux.conf
u ~/linux-config/dot_Xresources.tmpl
x ~/linux-config/dot_config/fish/config.fish.tmpl
xi ~/linux-config/dot_xinitrc