mirror of
https://github.com/ryanccn/flake.git
synced 2025-12-06 16:10:45 +01:00
style(aliases): "flatten" structure
This commit is contained in:
parent
e4e7854c93
commit
f5b594628e
1 changed files with 12 additions and 9 deletions
|
|
@ -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;
|
||||||
};
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue