Compare commits
3 Commits
74d4d88ac6
...
8a87db917d
Author | SHA1 | Date | |
---|---|---|---|
8a87db917d | |||
dc2300b9cb | |||
464b77caa4 |
@ -1,5 +1,6 @@
|
|||||||
for source in colored_commands \
|
for source in colored_commands \
|
||||||
convenience_aliases \
|
convenience_aliases \
|
||||||
|
docker_aliases \
|
||||||
git_functions \
|
git_functions \
|
||||||
histcontrol \
|
histcontrol \
|
||||||
home_bin_folder \
|
home_bin_folder \
|
||||||
|
@ -3,10 +3,11 @@ alias hosts='sudo nano /etc/hosts'
|
|||||||
alias historygrep='history | grep'
|
alias historygrep='history | grep'
|
||||||
alias sshconfig='nano ~/.ssh/config'
|
alias sshconfig='nano ~/.ssh/config'
|
||||||
alias bashrc='. ~/.bashrc'
|
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 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 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 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 termbin='nc termbin.com 9999'
|
||||||
alias dnsversion='dig txt chaos version.bind'
|
alias dnsversion='dig txt chaos version.bind'
|
||||||
|
6
bashrc_overrides/docker_aliases
Normal file
6
bashrc_overrides/docker_aliases
Normal 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'
|
Loading…
Reference in New Issue
Block a user