1
0
Fork 0
mirror of https://github.com/ryanccn/flake.git synced 2025-12-06 08:10:43 +01:00

style(aliases): "flatten" structure

This commit is contained in:
Ryan Cao 2023-08-24 20:55:49 +08:00
parent e4e7854c93
commit f5b594628e
Signed by: ryanccn
SSH key fingerprint: SHA256:NtP/BlVhoQq4xU6BEcZeT8nIPvHntkJ3lIc2yB+F09E

View file

@ -1,12 +1,16 @@
{ {
"vim".command = "hx"; "vim".command = "hx";
"dig".command = "doggo"; "dig".command = "doggo";
"where".command = "which -a";
"glol" = { "g".command = "git";
command = "git log --graph --pretty='%Cred%h%Creset -%C(auto)%d%Creset %s %Cgreen(%ar) %C(bold blue)<%an>%Creset'"; "g".fishAlias = true;
fishAlias = true;
}; "j".command = "just";
"j".fishAlias = true;
"glol".command = "git log --graph --pretty='%Cred%h%Creset -%C(auto)%d%Creset %s %Cgreen(%ar) %C(bold blue)<%an>%Creset'";
"glol".fishAlias = true;
"ghrvw".command = "gh repo view --web"; "ghrvw".command = "gh repo view --web";
"opr".command = "op run --env-file=.env.1password --"; "opr".command = "op run --env-file=.env.1password --";
@ -16,8 +20,7 @@
"bcpa".command = "brew cleanup --prune=all"; "bcpa".command = "brew cleanup --prune=all";
"puil".command = "pnpm update --interactive --latest"; "puil".command = "pnpm update --interactive --latest";
"pip-upgrade-all" = {
command = "pip --disable-pip-version-check list --outdated --format=json | python -c \"import json, sys; print('\n'.join([x['name'] for x in json.load(sys.stdin)]))\" | xargs -n1 pip install -U"; "pip-upgrade-all".command = "pip --disable-pip-version-check list --outdated --format=json | python -c \"import json, sys; print('\n'.join([x['name'] for x in json.load(sys.stdin)]))\" | xargs -n1 pip install -U";
fishAlias = true; "pip-upgrade-all".fishAlias = true;
};
} }