From 395e92054e3352c3618bd63ace20c013f6829c6e Mon Sep 17 00:00:00 2001
From: Oliver Davies <oliver@oliverdavies.dev>
Date: Wed, 22 May 2024 08:51:25 +0100
Subject: [PATCH] Add `vss` alias for sorting words in my `spellfile`

Automatically sort and update the words within my `spellfile` that's
used by Neovim.
---
 lib/shared/modules/zsh.nix | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lib/shared/modules/zsh.nix b/lib/shared/modules/zsh.nix
index 2d263194..63ef32b1 100644
--- a/lib/shared/modules/zsh.nix
+++ b/lib/shared/modules/zsh.nix
@@ -205,6 +205,7 @@
       ialias tag="tag-release"
       ialias uncommit="git reset --soft HEAD^";
       ialias wt="git worktree"
+      ialias vss="LC_ALL=C sort --unique ~/Code/personal/opdavies.nvim/spell/en.utf-8.add --output ~/Code/personal/opdavies.nvim/spell/en.utf-8.add"
       balias lh3="xdg-open http://localhost:3000"
       balias lh8="xdg-open http://localhost:8000"