Compare commits

...

3 commits

Author SHA1 Message Date
56f683de01 vscode: add cht.sh snippet 2024-03-22 10:02:52 -05:00
e1a8a05514 add cht-sh 2024-03-22 09:50:39 -05:00
bdbd13be40 add yq 2024-03-05 13:43:20 -06:00
3 changed files with 13 additions and 0 deletions

View file

@ -28,6 +28,7 @@
rsync # Remote sync
tldr # TLDR pages
unzip # unzip it
yq # YAML pretty printer and manipulator
zip # zip it
];
}

View file

@ -25,6 +25,8 @@
};
functions = {
# cht.sh integration
cht = "curl cheat.sh/$argv";
# Disable greeting
fish_greeting = "";
fish_prompt = ''
@ -124,6 +126,10 @@
set -U fish_pager_color_description yellow
set -U fish_pager_color_prefix 'white' '--bold' '--underline'
set -U fish_pager_color_progress 'brwhite' '--background=cyan'
'' +
# load cht.sh completions
''
complete -c cht -xa '(curl -s cheat.sh/:list)'
'';
};
}

View file

@ -59,6 +59,12 @@
version = "3.6.0";
sha256 = "sha256-FZTiNGSY+8xk3DJsTKQu4AHy1UFvg0gbrzPpjqRlECI=";
}
{
name = "snippet";
publisher = "vscode-snippet";
version = "1.2.0";
sha256 = "sha256-eka7JRzSN7VWkLu2kITb5mSYZHpw7Hx8mZboQsFhpms=";
}
];
globalSnippets = {
"Insert timestamp" = {