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

unify aliases

This commit is contained in:
Ryan Cao 2023-07-20 09:42:08 +08:00
parent db4f9abc9d
commit a36da6fe5e
Signed by: ryanccn
SSH key fingerprint: SHA256:NtP/BlVhoQq4xU6BEcZeT8nIPvHntkJ3lIc2yB+F09E
4 changed files with 20 additions and 34 deletions

17
programs/aliases.nix Normal file
View file

@ -0,0 +1,17 @@
{
"vim" = "hx";
"ls" = "exa --all --icons";
"dig" = "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";
"opr" = "op run --env-file=.env.1password --";
"dr" = "doppler run --";
"dequarantine" = "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";
}