diff --git a/.gitignore b/.gitignore index ce7e4994..ef0f5c68 100644 --- a/.gitignore +++ b/.gitignore @@ -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 diff --git a/.gitsecret/paths/mapping.cfg b/.gitsecret/paths/mapping.cfg index 3b1999cc..e8aaafa9 100644 --- a/.gitsecret/paths/mapping.cfg +++ b/.gitsecret/paths/mapping.cfg @@ -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 diff --git a/home/dots/work/.aliases b/home/dots/work/.aliases new file mode 100644 index 00000000..23181332 --- /dev/null +++ b/home/dots/work/.aliases @@ -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 cmiranda@ehr-01.prod.int.aws.lillegroup.com -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)"' diff --git a/home/dots/work/.aliases.secret b/home/dots/work/.aliases.secret deleted file mode 100644 index cf4a808e..00000000 Binary files a/home/dots/work/.aliases.secret and /dev/null differ