feat(zinit): integrate zinit for improved shell configuration #1

Merged
vokhactri merged 17 commits from feat/zinit into main 2025-04-18 20:50:42 +07:00
4 changed files with 19 additions and 7 deletions
Showing only changes of commit 9ed04e7eae - Show all commits

No files matched your search

+1
View File
@@ -1,2 +1,3 @@
font-family = "JetBrainsMono Nerd Font" font-family = "JetBrainsMono Nerd Font"
theme = "SpaceGray Eighties" theme = "SpaceGray Eighties"
cursor-style = bar
+2
View File
@@ -8,3 +8,5 @@
clean = git-lfs clean -- %f clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f smudge = git-lfs smudge -- %f
process = git-lfs filter-process process = git-lfs filter-process
[push]
autoSetupRemote = true
+1 -3
View File
@@ -9,9 +9,7 @@ zinit wait lucid light-mode id-as depth"1" for \
atinit"zicompinit; zicdreplay -q" \ atinit"zicompinit; zicdreplay -q" \
zdharma-continuum/fast-syntax-highlighting \ zdharma-continuum/fast-syntax-highlighting \
atload"_zsh_autosuggest_start" \ atload"_zsh_autosuggest_start" \
zsh-users/zsh-autosuggestions \ zsh-users/zsh-autosuggestions
blockf atpull'zinit creinstall -q .' \
zsh-users/zsh-completions
# load prompt theme # load prompt theme
zinit ice as"command" from"gh-r" id-as \ zinit ice as"command" from"gh-r" id-as \
+15 -4
View File
@@ -1,6 +1,17 @@
#!/usr/bin/env zsh #!/usr/bin/env zsh
alias cat=bat # Modern alternatives to traditional commands
alias ls=lsd alias cat='bat'
alias nano=micro alias ls='lsd'
alias fetch=fastfetch alias ll='lsd -l'
alias la='lsd -la'
alias tree='lsd --tree'
alias nano='micro'
alias fetch='fastfetch'
# Git shortcuts
alias g='git'
alias ga='git add'
alias gc='git commit'
alias gp='git push'
alias gl='git pull'