Testing alias
This commit is contained in:
@@ -15,10 +15,11 @@ alias ll='ls -lah'
|
|||||||
alias gs='git status'
|
alias gs='git status'
|
||||||
alias ga='git add'
|
alias ga='git add'
|
||||||
alias gc='git commit'
|
alias gc='git commit'
|
||||||
|
alia gp ='git push'
|
||||||
|
|
||||||
alias reb-switch='cd ~/system-master && sudo nixos-rebuild switch --flake ~/system-master#traveldroid'
|
alias reb-switch='cd ~/Repos/nextcloud_ecosystem/system-master/ && sudo nixos-rebuild switch --flake ~/Repos/nextcloud_ecosystem/system-master/#traveldroid'
|
||||||
alias reb-test='cd ~/system-master && sudo nixos-rebuild test --flake ~/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 ~/system-master && sudo nixos-rebuild build-vm --flake ~/system-master#traveldroid && "$(ls -1 ./result/bin/run-*-vm | head -n 1)"'
|
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 rb='systemctl reboot'
|
alias rb='systemctl reboot'
|
||||||
alias po='systemctl poweroff'
|
alias po='systemctl poweroff'
|
||||||
@@ -32,9 +33,9 @@ alias nps='xdg-open https://search.nixos.org'
|
|||||||
|
|
||||||
alias vs='code'
|
alias vs='code'
|
||||||
|
|
||||||
alias test-nix='cd ~/system-master && sudo rm -rf ~/conf && sudo rm -rf ~/system-master/configuration && sudo rm -rf ~/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 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 ~/system-master && sudo rm -rf ~/conf && sudo rm -rf ~/system-master/configuration && sudo rm -rf ~/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'
|
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'
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user