diff --git a/CHANGELOG.md b/CHANGELOG.md index 0073a9f..2375ba1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -18,7 +18,9 @@ Entries under the **Removed** section indicate items removed from the entire doc ### Added -- added(aliases): add `update-grub-config` to `updatepacman` alias +- added(zshrc): seperate update based variables +- added(alias): add new alias `deletelocalbranches` +- added(alias): add `update-grub-config` to `updatepacman` alias ## 2024-12-02 diff --git a/includes/zshrc-files/zshrc-linux-snippet.zsh b/includes/zshrc-files/zshrc-linux-snippet.zsh index 622dbc2..648b038 100644 --- a/includes/zshrc-files/zshrc-linux-snippet.zsh +++ b/includes/zshrc-files/zshrc-linux-snippet.zsh @@ -10,6 +10,7 @@ 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 update-grub-config="sudo grub-mkconfig -o /boot/grub/grub.cfg" +alias deletelocalbranches="git branch | grep -v 'main' | xargs git branch -D" hash xdg-open 2>/dev/null && alias open="xdg-open" ## Update based aliases. diff --git a/includes/zshrc-files/zshrc-linux.zsh b/includes/zshrc-files/zshrc-linux.zsh index f4cc385..08ecd0b 100644 --- a/includes/zshrc-files/zshrc-linux.zsh +++ b/includes/zshrc-files/zshrc-linux.zsh @@ -75,6 +75,7 @@ source "$ZSH/oh-my-zsh.sh" 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 update-grub-config="sudo grub-mkconfig -o /boot/grub/grub.cfg" +alias deletelocalbranches="git branch | grep -v 'main' | xargs git branch -D" hash xdg-open 2>/dev/null && alias open="xdg-open" ## Update based aliases. diff --git a/includes/zshrc-files/zshrc-macos-snippet.zsh b/includes/zshrc-files/zshrc-macos-snippet.zsh index 649a2e8..d1286db 100644 --- a/includes/zshrc-files/zshrc-macos-snippet.zsh +++ b/includes/zshrc-files/zshrc-macos-snippet.zsh @@ -13,6 +13,9 @@ alias zls="eza" 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 deletelocalbranches="git branch | grep -v 'main' | xargs git branch -D" + +## Update based aliases. alias updatebrew="brew update && brew upgrade && brew autoremove && brew cleanup && brew doctor" ### diff --git a/includes/zshrc-files/zshrc-macos.zsh b/includes/zshrc-files/zshrc-macos.zsh index c75e791..4ad2c19 100644 --- a/includes/zshrc-files/zshrc-macos.zsh +++ b/includes/zshrc-files/zshrc-macos.zsh @@ -78,6 +78,9 @@ alias zls="eza" 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 deletelocalbranches="git branch | grep -v 'main' | xargs git branch -D" + +## Update based aliases. alias updatebrew="brew update && brew upgrade && brew autoremove && brew cleanup && brew doctor" ### diff --git a/submodules/dotfiles b/submodules/dotfiles index 8c73b8f..57e8294 160000 --- a/submodules/dotfiles +++ b/submodules/dotfiles @@ -1 +1 @@ -Subproject commit 8c73b8f385f69f1327dd6e0e74cadf7a708b3dd3 +Subproject commit 57e829405cd9f25916523605f625a4c210230873