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
-
This commit is contained in:
sankalp committed 2026-03-07 01:47:30 +05:45
1 parent 40662a60f0
commit 9e7f8f09a1
1 file changed
+3 -2
+3 -2
View File
@@ -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)"