diff --git a/bin/dotfiles-doctor.sh b/bin/dotfiles-doctor.sh old mode 100644 new mode 100755 diff --git a/bin/dotfiles-sync.sh b/bin/dotfiles-sync.sh old mode 100644 new mode 100755 diff --git a/bin/dotfiles-version.sh b/bin/dotfiles-version.sh old mode 100644 new mode 100755 diff --git a/bin/setup-wizard.sh b/bin/setup-wizard.sh old mode 100644 new mode 100755 diff --git a/bin/shell-stats.sh b/bin/shell-stats.sh old mode 100644 new mode 100755 diff --git a/bin/vault.sh b/bin/vault.sh old mode 100644 new mode 100755 diff --git a/zsh/.zshrc b/zsh/.zshrc index 7c72075..db1a9b7 100644 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -210,14 +210,25 @@ bindkey "^[[3~" delete-char # Delete # --- Custom Widgets --- -# Alt+R to reload zsh config -reload-zsh() { - source ~/.zshrc - echo "✓ zsh configuration reloaded" - zle reset-prompt -} -zle -N reload-zsh -bindkey "^[r" reload-zsh + reload-zshrc() { + echo -n "Re-sourcing ~/.zshrc ... " + source ~/.zshrc + echo "Done." + _adlee_build_prompt + zle reset-prompt + } + zle -N reload-zshrc + bindkey "^X@s^[^R" reload-zshrc # Ctrl+Super+Alt+R + + grab-fastfetch() { + echo "fastfetch" + fastfetch + _adlee_build_prompt + zle reset-prompt + } + zle -N grab-fastfetch + bindkey "^X@s^[^F" grab-fastfetch # Ctrl+Super+Alt+F + # Alt+G to show git status git-status-widget() { diff --git a/zsh/themes/adlee.zsh-theme b/zsh/themes/adlee.zsh-theme index b80d343..b3f56ec 100644 --- a/zsh/themes/adlee.zsh-theme +++ b/zsh/themes/adlee.zsh-theme @@ -127,25 +127,3 @@ zle -N zle-keymap-select # Initial prompt build (critical for tmux) _adlee_build_prompt -# ============================================================================ -# CUSTOM WIDGETS -# ============================================================================ - -reload-zshrc() { - echo -n "Re-sourcing ~/.zshrc ... " - source ~/.zshrc - echo "Done." - _adlee_build_prompt - zle reset-prompt -} -zle -N reload-zshrc -bindkey "^X@s^[^R" reload-zshrc # Ctrl+Super+Alt+R - -grab-fastfetch() { - echo "fastfetch" - fastfetch - _adlee_build_prompt - zle reset-prompt -} -zle -N grab-fastfetch -bindkey "^X@s^[^F" grab-fastfetch # Ctrl+Super+Alt+F