Update .zimrc
This commit is contained in:
@@ -3,38 +3,19 @@
|
|||||||
# Modules
|
# Modules
|
||||||
# -------
|
# -------
|
||||||
|
|
||||||
# Environment
|
|
||||||
#
|
|
||||||
# Sets sane Zsh built-in environment options.
|
|
||||||
zmodule environment
|
zmodule environment
|
||||||
# Applies correct bindkeys for input events.
|
|
||||||
zmodule input
|
zmodule input
|
||||||
|
|
||||||
# Completion
|
|
||||||
#
|
|
||||||
# Additional completion definitions for Zsh.
|
|
||||||
zmodule zsh-users/zsh-completions
|
zmodule zsh-users/zsh-completions
|
||||||
# Enables and configures smart and extensive tab completion.
|
|
||||||
# completion must be sourced after zsh-users/zsh-completions
|
|
||||||
zmodule completion
|
|
||||||
# Fish-like autosuggestions for Zsh.
|
|
||||||
zmodule zsh-users/zsh-autosuggestions
|
zmodule zsh-users/zsh-autosuggestions
|
||||||
|
zmodule zsh-users/zsh-syntax-highlighting
|
||||||
|
zmodule zsh-users/zsh-history-substring-search
|
||||||
|
# zmodule completion
|
||||||
|
|
||||||
# Productivity
|
|
||||||
#
|
|
||||||
# Alacritty completions modules
|
|
||||||
zmodule alacritty -z
|
|
||||||
# Sets up asdf, with auto install and optimized usage of the direnv plugin.
|
|
||||||
#zmodule asdf
|
|
||||||
# Buku completions modules
|
|
||||||
zmodule buku -z
|
zmodule buku -z
|
||||||
# chezmoi
|
|
||||||
zmodule joke/zim-chezmoi
|
zmodule joke/zim-chezmoi
|
||||||
# Provides handy git aliases and functions.
|
|
||||||
zmodule git
|
zmodule git
|
||||||
# Sets a custom terminal title.
|
|
||||||
zmodule termtitle
|
zmodule termtitle
|
||||||
# Provides archive and unarchive functions for easy archive manipulation.
|
|
||||||
zmodule archive
|
zmodule archive
|
||||||
{{ if (eq .chezmoi.os "linux") -}}
|
{{ if (eq .chezmoi.os "linux") -}}
|
||||||
# Distribution aliases and functions.
|
# Distribution aliases and functions.
|
||||||
@@ -46,35 +27,16 @@ zmodule pacman
|
|||||||
zmodule debian
|
zmodule debian
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
# sudo module
|
|
||||||
zmodule sudo -z
|
zmodule sudo -z
|
||||||
# Utility aliases and functions. Adds colour to ls, grep and less.
|
|
||||||
zmodule utility
|
zmodule utility
|
||||||
# exa
|
|
||||||
## zmodule exa
|
|
||||||
# fzf
|
|
||||||
zmodule fzf
|
zmodule fzf
|
||||||
# Personal aliases
|
|
||||||
zmodule jl-helper -z
|
zmodule jl-helper -z
|
||||||
# magic enter feature from subnixr's minimal prompt theme
|
|
||||||
zmodule magic-enter
|
zmodule magic-enter
|
||||||
|
|
||||||
# Syntx highlighting
|
|
||||||
#
|
|
||||||
# Fish-like syntax highlighting for Zsh.
|
|
||||||
# zsh-users/zsh-syntax-highlighting must be sourced after completion
|
|
||||||
zmodule zsh-users/zsh-syntax-highlighting
|
|
||||||
# Fish-like history search (up arrow) for Zsh.
|
|
||||||
# zsh-users/zsh-history-substring-search must be sourced after zsh-users/zsh-syntax-highlighting
|
|
||||||
zmodule zsh-users/zsh-history-substring-search
|
|
||||||
|
|
||||||
# Prompt
|
|
||||||
#
|
|
||||||
# Exposes git repository status information to prompts.
|
|
||||||
zmodule git-info
|
zmodule git-info
|
||||||
# A customizable version of steeef's prompt theme.
|
|
||||||
zmodule steeef
|
zmodule steeef
|
||||||
# starship
|
# zmodule joke/zim-starship
|
||||||
zmodule joke/zim-starship
|
|
||||||
|
zstyle ':zim:module' skip 'prompt'
|
||||||
|
|
||||||
# End configuration added by Zim install
|
# End configuration added by Zim install
|
||||||
|
|||||||
Reference in New Issue
Block a user