2024-01-06 19:37:43 +00:00
|
|
|
# Start configuration added by Zim install {{{
|
|
|
|
# -------
|
|
|
|
# Modules
|
|
|
|
# -------
|
|
|
|
|
|
|
|
# Environment
|
|
|
|
#
|
|
|
|
# Sets sane Zsh built-in environment options.
|
|
|
|
zmodule environment
|
|
|
|
# Applies correct bindkeys for input events.
|
|
|
|
zmodule input
|
|
|
|
|
|
|
|
# Completion
|
|
|
|
#
|
|
|
|
# Additional completion definitions for Zsh.
|
|
|
|
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
|
|
|
|
|
|
|
|
# Productivity
|
|
|
|
#
|
2024-03-07 10:02:04 +00:00
|
|
|
# Alacritty completions modules
|
|
|
|
zmodule alacritty
|
2024-03-01 12:39:14 +00:00
|
|
|
# Sets up asdf, with auto install and optimized usage of the direnv plugin.
|
2024-03-01 13:09:53 +00:00
|
|
|
zmodule asdf
|
2024-03-07 10:02:04 +00:00
|
|
|
# Buku completions modules
|
|
|
|
zmodule buku
|
2024-03-01 12:39:14 +00:00
|
|
|
# chezmoi
|
2024-03-01 12:56:38 +00:00
|
|
|
zmodule joke/zim-chezmoi
|
2024-01-06 19:37:43 +00:00
|
|
|
# Provides handy git aliases and functions.
|
|
|
|
zmodule git
|
|
|
|
# Sets a custom terminal title.
|
|
|
|
zmodule termtitle
|
|
|
|
# Provides archive and unarchive functions for easy archive manipulation.
|
|
|
|
zmodule archive
|
2024-03-07 10:12:29 +00:00
|
|
|
# Distribution aliases and functions.
|
|
|
|
{{ if (eq .chezmoi.osRelease.id "manjaro") -}}
|
2024-01-06 19:37:43 +00:00
|
|
|
zmodule manjaro
|
2024-03-07 10:12:29 +00:00
|
|
|
{{ else if (eq .chezmoi.osRelease.id "arch") -}}
|
|
|
|
zmodule pacman
|
|
|
|
{{ else if (eq .chezmoi.osRelease.id "debian" "ubuntu") -)}}
|
|
|
|
zmodule debian
|
|
|
|
{{- end }}
|
2024-01-06 19:37:43 +00:00
|
|
|
# Personal aliases
|
|
|
|
zmodule jl-helper
|
|
|
|
# sudo module
|
|
|
|
zmodule sudo
|
|
|
|
# Utility aliases and functions. Adds colour to ls, grep and less.
|
|
|
|
zmodule utility
|
|
|
|
# exa
|
|
|
|
zmodule exa
|
|
|
|
# fzf
|
|
|
|
zmodule fzf
|
|
|
|
|
|
|
|
# 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
|
|
|
|
# A customizable version of steeef's prompt theme.
|
|
|
|
zmodule steeef
|
2024-03-07 09:57:39 +00:00
|
|
|
# starship
|
|
|
|
zmodule joke/zim-starship
|
2024-01-06 19:37:43 +00:00
|
|
|
|
|
|
|
# }}} End configuration added by Zim install
|