New aliases
This commit is contained in:
@@ -15,11 +15,14 @@ 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 gp ='git push'
|
||||||
|
|
||||||
alias reb-switch='cd ~/Repos/nextcloud_ecosystem/system-master/ && sudo nixos-rebuild switch --flake ~/Repos/nextcloud_ecosystem/system-master/#traveldroid'
|
alias cd ='z'
|
||||||
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 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 rb='systemctl reboot'
|
||||||
alias po='systemctl poweroff'
|
alias po='systemctl poweroff'
|
||||||
@@ -33,12 +36,6 @@ alias nps='xdg-open https://search.nixos.org'
|
|||||||
|
|
||||||
alias vs='code'
|
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
|
# Shell-specific aliases / examples
|
||||||
|
|||||||
Reference in New Issue
Block a user