diff --git a/system-master/assets/conf/dev/terminal/aliases.conf b/system-master/assets/conf/dev/terminal/aliases.conf index 621f050..5d1ba88 100644 --- a/system-master/assets/conf/dev/terminal/aliases.conf +++ b/system-master/assets/conf/dev/terminal/aliases.conf @@ -15,11 +15,14 @@ alias ll='ls -lah' alias gs='git status' alias ga='git add' alias gc='git commit' -alia gp ='git push' +alias gp ='git push' -alias reb-switch='cd ~/Repos/nextcloud_ecosystem/system-master/ && sudo nixos-rebuild switch --flake ~/Repos/nextcloud_ecosystem/system-master/#traveldroid' -alias reb-test='cd ~/Repos/nextcloud_ecosystem/system-master/ && sudo nixos-rebuild test --flake ~/Repos/nextcloud_ecosystem/system-master/#traveldroid' -alias reb-vm='cd ~/Repos/nextcloud_ecosystem/system-master/ && sudo nixos-rebuild build-vm --flake ~/Repos/nextcloud_ecosystem/system-master/#traveldroid && "$(ls -1 ./result/bin/run-*-vm | head -n 1)"' +alias cd ='z' + +alias emt ='emacs README.org --batch -f org-babel-tangle && emacs -Q --batch README.org -f org-html-export-to-html' +alias nxs='cd ~/Repos/nextcloud_ecosystem/system-master/ && sudo nixos-rebuild switch --flake ~/Repos/nextcloud_ecosystem/system-master/#traveldroid' +alias nxt='cd ~/Repos/nextcloud_ecosystem/system-master/ && sudo nixos-rebuild test --flake ~/Repos/nextcloud_ecosystem/system-master/#traveldroid' +alias nxv='cd ~/Repos/nextcloud_ecosystem/system-master/ && sudo nixos-rebuild build-vm --flake ~/Repos/nextcloud_ecosystem/system-master/#traveldroid && "$(ls -1 ./result/bin/run-*-vm | head -n 1)"' alias rb='systemctl reboot' alias po='systemctl poweroff' @@ -33,12 +36,6 @@ alias nps='xdg-open https://search.nixos.org' alias vs='code' -alias test-nix='cd ~/Repos/nextcloud_ecosystem/system-master/ && sudo rm -rf ~/conf && sudo rm -rf ~/Repos/nextcloud_ecosystem/system-master//configuration && sudo rm -rf ~/Repos/nextcloud_ecosystem/system-master//home && git add . && git commit -m "deleted conf and home folders" && emacs README.org --batch -f org-babel-tangle && git add . && git commit && sudo nixos-rebuild test --flake .#traveldroid && emacs -Q --batch README.org -f org-html-export-to-html' - -alias deploy-nix ='cd ~/Repos/nextcloud_ecosystem/system-master/ && sudo rm -rf ~/conf && sudo rm -rf ~/Repos/nextcloud_ecosystem/system-master//configuration && sudo rm -rf ~/Repos/nextcloud_ecosystem/system-master//home && git add . && git commit -m "deleted conf and home folders" && emacs README.org --batch -f org-babel-tangle && git add . && git commit && sudo nixos-rebuild switch --flake .#traveldroid && emacs -Q --batch README.org -f org-html-export-to-html && systemctl reboot' - - - ############################################## # Shell-specific aliases / examples