Skip to content

Commit

Permalink
feat: more aliases
Browse files Browse the repository at this point in the history
  • Loading branch information
arichtman committed Dec 7, 2024
1 parent e83577a commit 9ff2421
Showing 1 changed file with 37 additions and 24 deletions.
61 changes: 37 additions & 24 deletions modules/home/myhome/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
j = "jobs";
ee = "exit 0";
sc = "sudo systemctl";
jc = "journalctl -xe";
jc = "journalctl -xeu";
nm = "sudo nmcli";
rc = "sudo resolvectl";
ls = "exa";
Expand All @@ -32,34 +32,47 @@
vim = "hx";
nano = "hx";
pico = "hx";
gc = "git checkout";
gC = "git commit";
gs = "git status";
gS = "git switch";
gp = "git pull";
gP = "git push";
gPf = "git push --force-with-lease";
gb = "git branch";
gd = "git diff";
gf = "git fetch";
grc = "git rebase --continue";
gra = "git rebase --abort";
grpo = "git remote prune origin";
gau = "git add --update";
gCnv = "git commit --no-verify";
gCam = "git commit --amend";
gCC = "git commit --amend --no-verify";
gbl = "git blame -wCCC";
g = "git";
gc = "g checkout";
gC = "g commit";
gs = "g status";
gS = "g switch";
gp = "g pull";
gP = "g push";
gPf = "gP --force-with-lease";
gb = "g branch";
gd = "g diff";
gf = "g fetch";
gR = "g rebase";
gRc = "gR --continue";
gRa = "gR --abort";
gr = "git remote";
grg = "gr get-url";
grs = "gr set-url";
gra = "gr add-url";
grpo = "gr prune origin";
gau = "g add --update";
gCnv = "gC --no-verify";
gCam = "gC --amend";
gCC = "gC --amend --no-verify";
gbl = "g blame -wCCC";
nfu = "nix flake update --commit-lock-file";
sci = "step certificate inspect";
#TODO: feels odd putting aliases in without installing the program but I like to keep the
# environments separate between repos?
k = "kubectl";
kc = "kubectl config";
kg = "kubectl get";
kd = "kubectl describe";
kcns = "kubectl config set-context --current --namespace";
kcc = "kubectl config use-context";
kc = "k config";
kl = "k logs";
kg = "k get";
kd = "k describe";
kgn = "kg node";
kgp = "kg pod";
kdn = "kd node";
kdp = "kd pod";
kgnp = "kgp --all-namespaces --output wide --field-selector spec.nodeName=";
kcns = "kc set-context --current --namespace";
kcgc = "kc get-contexts";
kcc = "kc use-context";
tg = "terragrunt";
tgv = "terragrunt validate";
tgi = "terragrunt init";
Expand Down

0 comments on commit 9ff2421

Please sign in to comment.