Skip to content

Commit

Permalink
✨ work: add aliases
Browse files Browse the repository at this point in the history
  • Loading branch information
cristianmiranda committed Jan 3, 2024
1 parent ff63e06 commit 6e8cb91
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 2 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,6 @@ home/.config/lazygit/state.yml

# dotfiles' secrets
home/.ssh/config
home/dots/work/.aliases
home/.config/filezilla/sitemanager.xml
/config.yaml
home/.config/ulauncher/ext_preferences/com.github.safaariman.ulauncher-jira.db
Expand Down
1 change: 0 additions & 1 deletion .gitsecret/paths/mapping.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
home/.ssh/config:2106c6d0983aebfb3d355b5020ff231a6f29c20466537c2838b5ec810e045acf
home/dots/work/.aliases:8ceb0babb133bcd758e2a7c19b752cb2a4ff6dbd1a67853c25ff2679a162c751
home/.config/filezilla/sitemanager.xml:b371571f416b401af0de915e917245697438e864137fe07dbf93b67001abc542
config.yaml:42535428ab3d9463a92425889ec37456875503b0907f45c2c4f328e49a00de57
home/.secrets:f89ec1ff06a0ecc843320e444a382730238aa33d157aeaf1e04326a94400c8b0
Expand Down
16 changes: 16 additions & 0 deletions home/dots/work/.aliases
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
#!/bin/bash

alias lg="cd ${LG_BASE_DIR}"
alias escribe="cd ${LG_BASE_DIR}/escribehost"
alias eshlogs="tail -f /private/var/log/tomcat/escribe/esh-devmode/escribe.log"

alias prod.tunnel.start="ssh -M -S /tmp/prodtunnelssh.ctl -f [email protected] -L 2483:ehr-db.prod:2483 -N"
alias prod.tunnel.stop="ssh -S /tmp/prodtunnelssh.ctl -O exit localhost"

alias lgvpn.start="sudo openvpn --config ~/.config/openvpn/profiles/lg.ovpn --user cmiranda --script-security 2 --daemon --auth-retry interact --log /var/log/openvpn.log"
alias lgvpn.stop="sudo killall openvpn"
alias lgvpn.logs="sudo tail -f /var/log/openvpn.log"

alias mvnci='mvnd clean install -DskipTests -Dcheckstyle.skip=true -Dmvnd.rollingWindowSize=32 -Dgwt.localWorkers=32 -Dgwt.draftCompile=true -Dgwt.optimize=0 -P sdm && notify-send "BUILD FINISHED" "$(git rev-parse --abbrev-ref HEAD)"'
alias mvni='mvnd install -DskipTests -Dcheckstyle.skip=true -Dmvnd.rollingWindowSize=32 -Dgwt.localWorkers=32 -Dgwt.draftCompile=true -Dgwt.optimize=0 -P sdm && notify-send "BUILD FINISHED" "$(git rev-parse --abbrev-ref HEAD)"'
alias mvncs='mvnd checkstyle:checkstyle -DskipTests -Dmvnd.rollingWindowSize=32 -Dgwt.localWorkers=32 -Dgwt.draftCompile=true -Dgwt.optimize=0 && notify-send "CHECKSTYLE FINISHED" "$(git rev-parse --abbrev-ref HEAD)"'
Binary file removed home/dots/work/.aliases.secret
Binary file not shown.

0 comments on commit 6e8cb91

Please sign in to comment.