Fix global abbreviations

This commit is contained in:
Oliver Davies 2025-03-31 09:47:38 +01:00
parent c55dcbc07a
commit 31472dea4f
3 changed files with 15 additions and 13 deletions

View file

@ -108,19 +108,6 @@
rpub = "run publish";
rt = "run test";
"-g A1" = "| awk '{print $1}'";
"-g C" = "| xclip -sel clip";
"-g Fj" = "| jq .";
"-g Fy" = "| yq .";
"-g G" = "| grep";
"-g GH" = "| grep HTTP";
"-g Gi" = "| grep -i";
"-g H2" = "| head -n 20";
"-g H" = "| head";
"-g L" = "| less";
"-g V" = "| nvim -";
"-g X" = "| xargs -I1";
nah = "git reset --hard; git clean -fd";
wip = "git commit -m wip";

View file

@ -10,6 +10,7 @@
enable = true;
abbreviations = import ./abbreviations.nix;
globalAbbreviations = import ./global-abbreviations.nix;
};
dotDir = ".config/zsh";

View file

@ -0,0 +1,14 @@
{
A1 = "| awk '{print $1}'";
C = "| xclip -sel clip";
Fj = "| jq .";
Fy = "| yq .";
G = "| grep";
GH = "| grep HTTP";
Gi = "| grep -i";
H2 = "| head -n 20";
H = "| head";
L = "| less";
V = "| nvim -";
X = "| xargs -I1";
}