Compare commits

..

3 Commits

3 changed files with 9 additions and 1 deletions

View File

@ -1,5 +1,6 @@
for source in colored_commands \
convenience_aliases \
docker_aliases \
git_functions \
histcontrol \
home_bin_folder \

View File

@ -3,10 +3,11 @@ alias hosts='sudo nano /etc/hosts'
alias historygrep='history | grep'
alias sshconfig='nano ~/.ssh/config'
alias bashrc='. ~/.bashrc'
alias sshagent='eval `ssh-agent` && ssh-add ~/.ssh/id_!(*.pub)'
alias newrepo='bash <(curl -s https://get.bjphoster.com/new-git-repo.sh)'
alias newansibleworkspace='bash <(curl -s https://get.bjphoster.com/new-ansible-workspace.sh)'
alias sambaserver='docker run -it --rm --network host -p 137:137 -p 138:138 -p 139:139 -p 445:445 -v `pwd`:/share dperson/samba -n -p -s "sambashare;/share;yes;no;no;shareuser" -w "WORKGROUP"'
alias acme.sh='docker run -it --rm -v /home/bryanpedini/acme.sh:/acme.sh neilpang/acme.sh'
alias acme.sh='docker run -it --rm -v ~/acme.sh:/acme.sh neilpang/acme.sh'
alias termbin='nc termbin.com 9999'
alias dnsversion='dig txt chaos version.bind'

View File

@ -0,0 +1,6 @@
alias dockerup='docker compose up'
alias dockerupd='docker compose up -d'
alias dockerdown='docker compose down'
alias dockerdownv='docker compose down --volumes'
alias dockerlogs='docker compose logs --tail=10'
alias dockerlogsf='docker compose logs --tail=10 --follow'