dotfiles/lib/shared/modules
Oliver Davies 0df5f17dae zsh: migrate to zsh-abbr
Migrate from `zsh-expand` to `zsh-abbr` as it seems more performant and
isn't giving me unwanted expansions, such as when typing `run` within
this repository and it completing to something else.

Whilst Home Manager does have `programs.zsh-attr`, there isn't an option
for setting global abbreviations that expand anywhere in the command,
which I need to replace global ZSH aliases such as `G` which expands to
`| grep`.

For now, I've installed `zsh-abbr` via zplug and am creating the
`user-abbreviations` file using Home Manager where I can use `attr -g`
for global aliases.

If or when support is added for global abbreviations in Home Manager,
I'll switch to `programs.zsh-abbr.abbreviations`.

`programs.zsh.shellAliases` is still used for aliases that shouldn't
expand, whereas everything else has been moved to abbreviations.
2024-06-25 12:43:30 +01:00
..
atuin.nix Revert "Use fzf for searching zsh history" 2024-06-01 14:38:55 +01:00
bat.nix Format using nixfmt 2024-03-18 20:34:51 +00:00
bin.nix Run nix fmt 2024-06-10 09:38:34 +01:00
direnv.nix Make configuration more modular 2024-03-16 22:38:39 +00:00
fzf.nix Make configuration more modular 2024-03-16 22:38:39 +00:00
git.nix Add git-instafix 2024-06-19 08:07:02 +01:00
lsd.nix Configure lsd 2024-05-11 01:55:59 +02:00
neovim.nix Run nix fmt 2024-06-10 09:38:34 +01:00
nnn.nix Format using nixfmt 2024-03-18 20:34:51 +00:00
phpactor.nix Run nix fmt 2024-06-10 09:38:34 +01:00
ripgrep.nix Run nix fmt 2024-06-10 09:38:34 +01:00
starship.nix Configure starship prompt 2024-06-19 22:04:51 +01:00
syncthing.nix Move syncthing into its own module 2024-05-02 17:29:35 +01:00
tmux.nix tmux: make the status bar transparent 2024-06-24 22:36:48 +01:00
wezterm.nix Run nix fmt 2024-06-10 09:38:34 +01:00
zsh.nix zsh: migrate to zsh-abbr 2024-06-25 12:43:30 +01:00