9 Commits

Author SHA1 Message Date
74d4d88ac6 added bashrc refresh alias 2022-08-03 08:24:25 +02:00
42c11470b9 moved to *any* type public key
preparing for ED25519 key
2022-08-03 08:23:08 +02:00
ae3732ebbb added acme.sh alias 2022-08-03 08:22:13 +02:00
1c41cd039d fixed dnsversion alias 2022-04-02 16:03:11 +02:00
799af1f6a1 added dnsversion alias
to check remote servers
2022-04-02 16:01:21 +02:00
c51a067dda removed blinking of cursor 2022-04-02 16:00:37 +02:00
8a8f304c1c fix sourcing paths, use relatives 2022-02-10 18:12:27 +01:00
ead9cb0d71 added new ansible workspace alias 2022-02-10 17:41:29 +01:00
6dd1d386d1 fixed sed path in server customization 2022-02-10 16:33:07 +01:00
4 changed files with 9 additions and 7 deletions

View File

@@ -7,7 +7,5 @@ for source in colored_commands \
safety_aliases \ safety_aliases \
terminal_colors \ terminal_colors \
terminal_fancyfying; do terminal_fancyfying; do
if [ -f ~/.bashrc_overrides/$source ]; then . "$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )/$source"
. ~/.bashrc_overrides/$source
fi
done done

View File

@@ -1,8 +1,12 @@
alias pubkey='cat ~/.ssh/id_rsa.pub' alias pubkey='cat ~/.ssh/id_*.pub'
alias hosts='sudo nano /etc/hosts' 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 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 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 termbin='nc termbin.com 9999' alias termbin='nc termbin.com 9999'
alias dnsversion='dig txt chaos version.bind'

View File

@@ -13,4 +13,4 @@ if [ $GIT_FUNCTIONS ]; then
fi fi
#PS1="$PS1${RED}#${FORMAT_RESET}" #PS1="$PS1${RED}#${FORMAT_RESET}"
PS1="$PS1${RED}${FORMAT_BLINK}\$${FORMAT_RESET}" PS1="$PS1${RED}\$${FORMAT_RESET}"

View File

@@ -69,9 +69,9 @@ _main() {
fi fi
if [ "${SERVER}" = true ]; then if [ "${SERVER}" = true ]; then
sed -i 's/terminal_fancyfying/terminal_fancyfying_server/' ~/.bashrc_overrides/_all sed -i 's/terminal_fancyfying/terminal_fancyfying_server/' ${THIS}/bashrc_overrides/_all
else else
sed -i 's/terminal_fancyfying_server/terminal_fancyfying/' ~/.bashrc_overrides/_all sed -i 's/terminal_fancyfying_server/terminal_fancyfying/' ${THIS}/bashrc_overrides/_all
fi fi
} }