Advertisement
Guest User

zshrc

a guest
Mar 26th, 2025
105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.31 KB | None | 0 0
  1. # Path configurations
  2. export PATH="$HOME/.local/bin:$PATH"
  3. eval "$(/opt/homebrew/bin/brew shellenv)"
  4. export PATH="$PATH:/Users/andrew/.spicetify"
  5. export PATH="/Applications/Racket v8.11.1/bin:$PATH"
  6.  
  7. # Terminal colors and prompt setup
  8. export CLICOLOR=1
  9. export LSCOLORS=ExFxBxDxCxegedabagacad
  10.  
  11. # Additional aliases
  12. alias copy="pbcopy"
  13. alias apple="archey -d darwin -l retro"
  14. alias shellCheck="for i in $(seq 1 10); do /usr/bin/time $SHELL -i -c exit; done"
  15. mkcd() { mkdir -p "$1" && cd "$1"; } # mkdir and then cd into it
  16.  
  17.  
  18. # Manually installed zsh-defer
  19. source ~/.zsh/plugins/zsh-defer/zsh-defer.plugin.zsh
  20.  
  21.  
  22. # Oh My Zsh configuration
  23. export ZSH="$HOME/.oh-my-zsh"
  24. ZSH_THEME="robbyrussell"
  25.  
  26.  
  27. # Plugin configurations
  28. ENABLE_CORRECTION="true"
  29.  
  30.  
  31. # Auto suggest configuration
  32. ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE="fg=magenta"
  33. ZSH_AUTOSUGGEST_STRATEGY=(history completion)
  34. ZSH_AUTOSUGGEST_BUFFER_MAX_SIZE=20
  35.  
  36.  
  37. # Plugins configuration
  38. plugins=(
  39.   git
  40.   fzf
  41.   zsh-bat
  42.   zsh-autosuggestions
  43.   zsh-syntax-highlighting
  44. )
  45.  
  46.  
  47. # FZF configuration
  48. export FZF_BASE=/opt/homebrew/Cellar/fzf/0.56.3
  49.  
  50.  
  51. # Deferred initializations
  52. zsh-defer eval "$(pyenv init -)"
  53. zsh-defer eval "$(zoxide init zsh)"
  54.  
  55.  
  56. # Source Oh My Zsh
  57. source $ZSH/oh-my-zsh.sh
  58.  
  59.  
  60. # Additional sourcing
  61. [ -f ~/.fzf.zsh ] && source ~/.fzf.zsh
  62.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement