aboutsummaryrefslogtreecommitdiff
path: root/home
diff options
context:
space:
mode:
authorDemonKingSwarn <rockingswarn@gmail.com>2026-04-20 21:54:10 +0530
committerDemonKingSwarn <rockingswarn@gmail.com>2026-04-20 21:54:10 +0530
commite91332c02d24a6c1f3d8dec157202979077c2068 (patch)
treeb43e2d9188ed67120442f7828c9ab3e6d1947791 /home
parente77029e1832f43d8c229f17a48eafdf451c2c51c (diff)
downloadodysseus-e91332c02d24a6c1f3d8dec157202979077c2068.zip
odysseus-e91332c02d24a6c1f3d8dec157202979077c2068.tar.gz
hmmm
an automated commit
Diffstat (limited to 'home')
-rw-r--r--home/zsh.nix28
1 files changed, 14 insertions, 14 deletions
diff --git a/home/zsh.nix b/home/zsh.nix
index 70a180a..aeeead5 100644
--- a/home/zsh.nix
+++ b/home/zsh.nix
@@ -4,6 +4,20 @@
programs.zsh = {
enable = true;
dotDir = "${config.xdg.configHome}/zsh";
+ enableCompletion = true;
+ autosuggestion.enable = true;
+ syntaxHighlighting.enable = true;
+
+ plugins = [
+ {
+ name = "fzf-tab";
+ src = "${pkgs.zsh-fzf-tab}/share/fzf-tab";
+ }
+ {
+ name = "zsh-vi-mode";
+ src = "${pkgs.zsh-vi-mode}/share/zsh-vi-mode";
+ }
+ ];
history = {
size = 10000;
@@ -102,20 +116,6 @@
alias -g JQ='| jq'
alias -g C='| wl-copy'
- # plugin manager
- ZINIT_HOME="''${XDG_DATA_HOME:-''${HOME}/.local/share}/zinit/zinit.git"
- if [ ! -d "$ZINIT_HOME" ]; then
- mkdir -p "$(dirname $ZINIT_HOME)"
- git clone https://github.com/zdharma-continuum/zinit.git "$ZINIT_HOME"
- fi
- source "''${ZINIT_HOME}/zinit.zsh"
-
- # plugins
- zinit light zsh-users/zsh-syntax-highlighting
- zinit light zsh-users/zsh-completions
- zinit light zsh-users/zsh-autosuggestions
- zinit light Aloxaf/fzf-tab
- zinit light jeffreytse/zsh-vi-mode
autoload -U compinit && compinit
# keybindings