dotfiles

:)
git clone https://git.sr.ht/~ashymad/dotfiles
Log | Files | Refs | Submodules | LICENSE

.zimrc (1617B)


      1 # Start configuration added by Zim Framework install {{{
      2 #
      3 # This is not sourced during shell startup and is only used to configure zimfw.
      4 #
      5 
      6 #
      7 # Modules
      8 #
      9 
     10 # Sets sane Zsh built-in environment options.
     11 zmodule environment
     12 # Provides handy git aliases and functions.
     13 zmodule git
     14 # Applies correct bindkeys for input events.
     15 zmodule input
     16 # Sets a custom terminal title.
     17 zmodule termtitle
     18 # Utility aliases and functions. Adds colour to ls, grep and less.
     19 zmodule utility
     20 
     21 #
     22 # Completion
     23 #
     24 
     25 # Additional completion definitions for Zsh.
     26 zmodule zsh-users/zsh-completions --fpath src
     27 # Enables and configures smart and extensive tab completion, must be sourced
     28 # after all modules that add completion definitions.
     29 zmodule completion
     30 
     31 #
     32 # Modules that must be initialized last
     33 #
     34 
     35 # Fish-like syntax highlighting for Zsh, must be sourced after completion.
     36 zmodule zsh-users/zsh-syntax-highlighting
     37 # Fish-like history search for Zsh, must be sourced after zsh-users/zsh-syntax-highlighting.
     38 zmodule zsh-users/zsh-history-substring-search
     39 # Fish-like autosuggestions for Zsh.
     40 zmodule zsh-users/zsh-autosuggestions
     41 # }}} End configuration added by Zim Framework install
     42 
     43 source ~/.zimrc.d/module-custom.zsh
     44 
     45 zmodule-custom mise --if-command "mise" --comp "mise completion zsh" --eval "mise activate zsh"
     46 zmodule-custom zoxide --if-command "zoxide" --eval "zoxide init zsh"
     47 zmodule-custom starship --if-command "starship" --eval "starship init zsh"
     48 zmodule-custom atuin --if-command "atuin" --eval "atuin init zsh"
     49 zmodule-custom vivid --if-command "vivid" --eval 'echo export LS_COLORS=\"$(vivid generate ${VIVID_THEME})\"'