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

feat: differentiate between fish aliases and abbrs

This commit is contained in:
Ryan Cao 2023-07-21 17:13:54 +08:00
parent f024302352
commit d96f478fa2
Signed by: ryanccn
SSH key fingerprint: SHA256:NtP/BlVhoQq4xU6BEcZeT8nIPvHntkJ3lIc2yB+F09E
3 changed files with 30 additions and 15 deletions

View file

@ -1,17 +1,26 @@
{
"vim" = "hx";
"ls" = "exa --all --icons";
"dig" = "doggo";
"vim".command = "hx";
"ls" = {
command = "exa --all --icons";
fishAlias = true;
};
"dig".command = "doggo";
"glol" = "git log --graph --pretty='%Cred%h%Creset -%C(auto)%d%Creset %s %Cgreen(%ar) %C(bold blue)<%an>%Creset'";
"ghrvw" = "gh repo view --web";
"glol" = {
command = "git log --graph --pretty='%Cred%h%Creset -%C(auto)%d%Creset %s %Cgreen(%ar) %C(bold blue)<%an>%Creset'";
fishAlias = true;
};
"ghrvw".command = "gh repo view --web";
"opr" = "op run --env-file=.env.1password --";
"dr" = "doppler run --";
"opr".command = "op run --env-file=.env.1password --";
"dr".command = "doppler run --";
"dequarantine" = "xattr -d com.apple.quarantine";
"dequarantine".command = "xattr -d com.apple.quarantine";
"bcpa" = "brew cleanup --prune=all";
"puil" = "pnpm update --interactive --latest";
"pip-upgrade-all" = "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";
"bcpa".command = "brew cleanup --prune=all";
"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";
fishAlias = true;
};
}