2023-03-23 09:49:43 +01:00
|
|
|
###
|
|
|
|
### Zim Modules
|
|
|
|
###
|
|
|
|
|
2023-10-04 14:46:39 +02:00
|
|
|
# apt install bat curl fd-find fzf lsd ripgrep
|
|
|
|
# dpkg-divert --divert /usr/bin/bat --rename /usr/bin/batcat
|
|
|
|
# dpkg-divert --divert /usr/bin/fd --rename /usr/bin/fdfind
|
2023-10-04 14:40:21 +02:00
|
|
|
|
2023-03-23 09:49:43 +01:00
|
|
|
### Behaviour
|
|
|
|
|
|
|
|
# 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
|
|
|
|
|
|
|
|
# Figures out where to get the best help, and gets it.
|
|
|
|
zmodule run-help
|
|
|
|
|
|
|
|
|
|
|
|
### Productivity
|
|
|
|
|
|
|
|
# Sets up asdf, with auto install and optimized usage of the direnv plugin
|
|
|
|
# https://github.com/zimfw/asdf
|
|
|
|
#
|
|
|
|
# Run `zimfw clean-dumpfile; compinit` to force loading the completion
|
|
|
|
zmodule asdf
|
|
|
|
|
|
|
|
# fzf
|
|
|
|
# → Using a modified version (in .zshrc)
|
|
|
|
|
|
|
|
|
|
|
|
###
|
|
|
|
### Other Modules
|
|
|
|
###
|
|
|
|
|
|
|
|
# Enhanced CD
|
|
|
|
# Requires: fzf, fzy, ...
|
|
|
|
zmodule b4b4r07/enhancd
|
|
|
|
|
|
|
|
|
|
|
|
###
|
|
|
|
### Prompt & Command Line Helpers
|
|
|
|
###
|
|
|
|
|
|
|
|
# ZVM — Zsh Vi Mode
|
|
|
|
zmodule jeffreytse/zsh-vi-mode
|
|
|
|
|
|
|
|
# Fast Syntax Highlighting
|
|
|
|
#
|
|
|
|
# `fast-theme --list` to list available themes -> "free"
|
|
|
|
zmodule zdharma-continuum/fast-syntax-highlighting
|
|
|
|
|
|
|
|
# A heavily reduced, ASCII-only version of the Spaceship and Starship prompts.
|
|
|
|
zmodule asciiship
|
|
|
|
|
|
|
|
# Exposes git status information (used by asciiship)
|
|
|
|
zmodule git-info
|