dotfiles/lib/shared
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
..
modules zsh: migrate to zsh-abbr 2024-06-25 12:43:30 +01:00
scripts Move t into its own file 2024-06-17 17:59:35 +01:00
home-manager-packages.nix Add xdg-utils and wsl-open 2024-06-18 12:32:47 +01:00
home-manager.nix Revert "Reapply "Remove starship"" 2024-06-19 21:59:18 +01:00