From 9e7f8f09a1a27610e133960aa7c3f9680640f4af Mon Sep 17 00:00:00 2001 From: S4NKALP Date: Sat, 7 Mar 2026 01:47:30 +0545 Subject: [PATCH] chore(misc): adjust zsh configuration and starship config path The changes tidy up the .zshrc, enable extendedglob, and correct the starship config path to a conventional location. New Features - Enhancements - Added `setopt extendedglob`. - Updated `zcompdump` path to `$HOME/.config/zsh/zcompdump`. - Changed `STARSHIP_CONFIG` to `$HOME/.config/starship.toml`. Bug Fixes - --- misc/.zshrc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/misc/.zshrc b/misc/.zshrc index 8e2f030a..d7054649 100644 --- a/misc/.zshrc +++ b/misc/.zshrc @@ -1,3 +1,4 @@ + [[ $- != *i* ]] && return # ┬ ┬┌─┐┬─┐┌─┐ @@ -20,7 +21,7 @@ fi # │ │ │├─┤ ││ ├┤ ││││ ┬││││├┤ # ┴─┘└─┘┴ ┴─┴┘ └─┘┘└┘└─┘┴┘└┘└─┘ autoload -Uz compinit - +setopt extendedglob local zcompdump="$HOME/.config/zsh/zcompdump" if [[ -n "$zcompdump"(#qN.mh+24) ]]; then @@ -98,7 +99,7 @@ setopt COMPLETE_IN_WORD # Complete from both ends of a word. # │ ├─┤├┤ ├─┘├┬┘│ ││││├─┘ │ # ┴ ┴ ┴└─┘ ┴ ┴└─└─┘┴ ┴┴ ┴ -export STARSHIP_CONFIG="$XDG_CONFIG_HOME/starship.toml" +export STARSHIP_CONFIG="$HOME/.config/starship.toml" eval "$(starship init zsh)"