dotfiles/files/.bash_aliases

32 lines
1 KiB
Bash
Raw Normal View History

2022-12-28 15:38:02 -05:00
alias dcpull='docker compose pull && docker compose down && docker compose up -d'
2022-12-17 00:37:53 -05:00
alias dprune='docker image prune -f'
2022-12-28 15:38:02 -05:00
alias dcrestart='docker compose down && docker compose up -d'
2023-02-06 23:53:41 -05:00
alias docker='docker '
2023-02-06 23:57:12 -05:00
alias ps='ps -a --format "table {{.Names}}:\t{{.State}}\t{{.Status}}"'
2022-12-17 00:37:53 -05:00
2023-02-06 12:19:32 -05:00
alias tup='tailscale up --login-server https://headscale.nelim.org'
2022-12-17 00:37:53 -05:00
alias ncht='docker exec -it --user www-data app-server php occ maintenance:update:htaccess'
2023-02-16 09:35:59 -05:00
alias tmux='tmux -2 '
2023-01-08 11:24:16 -05:00
alias pve='ssh matt@10.0.0.121'
2022-12-28 15:38:02 -05:00
alias mc='ssh mc@10.0.0.124'
alias dock='ssh -p 6768 dock@10.0.0.122'
2022-12-17 00:37:53 -05:00
alias oksys='ssh matt@10.0.0.213'
alias router='ssh root@10.0.0.2'
2023-03-15 11:05:58 -04:00
alias jelly='ssh matt@10.0.0.123'
2022-12-17 00:37:53 -05:00
alias ls='ls -lah --color=auto'
2023-03-17 22:00:48 -04:00
alias cp='cp -r'
2023-01-08 11:24:16 -05:00
alias pushdot='bash ~/git/dotfiles/pull.sh'
2023-02-06 12:19:32 -05:00
alias resetdot='(cd ~/git/dotfiles; bash setup.sh)'
2023-02-04 04:20:08 -05:00
alias sudo='sudo '
2023-02-19 21:48:11 -05:00
alias frick='sudo $(fc -ln -1)'
2023-03-02 11:11:20 -05:00
alias grubup='grub-mkconfig -o /boot/grub/grub.cfg ; sudo sed -i 's/echo/#ech~o/g' /boot/grub/grub.cfg'
2023-02-06 23:56:12 -05:00
alias cmd='command'
2023-03-01 23:36:40 -05:00
alias cursor='setterm -cursor on >> /etc/issue'