Skip to content

Commit

Permalink
Update files based on submodule changes
Browse files Browse the repository at this point in the history
  • Loading branch information
StrangeRanger committed Dec 2, 2024
1 parent 6348145 commit f6f60c5
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 8 deletions.
8 changes: 6 additions & 2 deletions includes/zshrc-files/zshrc-linux-snippet.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,19 @@
## General aliases.
alias zls="eza"
alias formatc="find . -name '*.cs' -type f -exec clang-format --style='file:$HOME/Programs/Mine/Formatter Configs/CSharp_clang-format/_clang-format' -i {} +"
alias rm="trash" # Used to prevent accidental and permanent deletion of files.
alias rrm="rm" # Stands for 'real rm'.
alias update-grub-config="sudo grub-mkconfig -o /boot/grub/grub.cfg"
hash xdg-open 2>/dev/null && alias open="xdg-open"

## Update based aliases.
alias updateapt="sudo apt update && sudo apt upgrade -y && sudo apt autoremove -y && sudo apt autoclean"
alias updatepacman="sudo pacman -Syu && yay && yay -Yc"

## Systemd aliases.
alias start-bluetooth="sudo systemctl start bluetooth.service"
alias stop-bluetooth="sudo systemctl stop bluetooth.service"
alias start-vmware-networking="sudo systemctl start vmware-networks.service"
alias stop-vmware-networking="sudo systemctl stop vmware-networks.service"

###
### [ Group 2 ]
###
Expand Down
8 changes: 6 additions & 2 deletions includes/zshrc-files/zshrc-linux.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -74,15 +74,19 @@ source "$ZSH/oh-my-zsh.sh"
## General aliases.
alias zls="eza"
alias formatc="find . -name '*.cs' -type f -exec clang-format --style='file:$HOME/Programs/Mine/Formatter Configs/CSharp_clang-format/_clang-format' -i {} +"
alias rm="trash" # Used to prevent accidental and permanent deletion of files.
alias rrm="rm" # Stands for 'real rm'.
alias update-grub-config="sudo grub-mkconfig -o /boot/grub/grub.cfg"
hash xdg-open 2>/dev/null && alias open="xdg-open"

## Update based aliases.
alias updateapt="sudo apt update && sudo apt upgrade -y && sudo apt autoremove -y && sudo apt autoclean"
alias updatepacman="sudo pacman -Syu && yay && yay -Yc"

## Systemd aliases.
alias start-bluetooth="sudo systemctl start bluetooth.service"
alias stop-bluetooth="sudo systemctl stop bluetooth.service"
alias start-vmware-networking="sudo systemctl start vmware-networks.service"
alias stop-vmware-networking="sudo systemctl stop vmware-networks.service"

###
### [ Group 2 ]
###
Expand Down
2 changes: 0 additions & 2 deletions includes/zshrc-files/zshrc-macos-snippet.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@ alias rmdsstore="find . -name '*.DS_Store' -type f -delete"
alias code="open -a 'Visual Studio Code.app' ."
alias formatc="find . -name '*.cs' -type f -exec clang-format --style='file:$HOME/Programs/Mine/Formatter Configs/CSharp_clang-format/_clang-format' -i {} +"
alias updatebrew="brew update && brew upgrade && brew autoremove && brew cleanup && brew doctor"
alias rm="trash" # Used to prevent accidental and permanent deletion of files.
alias rrm="rm" # Stands for 'real rm'.

###
### [ Group 2 ]
Expand Down
2 changes: 0 additions & 2 deletions includes/zshrc-files/zshrc-macos.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,6 @@ alias rmdsstore="find . -name '*.DS_Store' -type f -delete"
alias code="open -a 'Visual Studio Code.app' ."
alias formatc="find . -name '*.cs' -type f -exec clang-format --style='file:$HOME/Programs/Mine/Formatter Configs/CSharp_clang-format/_clang-format' -i {} +"
alias updatebrew="brew update && brew upgrade && brew autoremove && brew cleanup && brew doctor"
alias rm="trash" # Used to prevent accidental and permanent deletion of files.
alias rrm="rm" # Stands for 'real rm'.

###
### [ Group 2 ]
Expand Down

0 comments on commit f6f60c5

Please sign in to comment.