user/zsh: update abbreviations
This commit is contained in:
parent
c520a64c34
commit
a6d5057deb
2 changed files with 5 additions and 13 deletions
|
|
@ -4,7 +4,6 @@
|
||||||
useUserPackages = true;
|
useUserPackages = true;
|
||||||
extraSpecialArgs = {
|
extraSpecialArgs = {
|
||||||
inherit enableGUI inputs modules;
|
inherit enableGUI inputs modules;
|
||||||
sysConfig = config;
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
# vim: ft=nix
|
# vim: ft=nix
|
||||||
{ config, inputs, pkgs, sysConfig, ... }:
|
{ config, inputs, pkgs, ... }:
|
||||||
let
|
let
|
||||||
lib = pkgs.lib;
|
lib = pkgs.lib;
|
||||||
|
|
||||||
|
|
@ -15,19 +15,12 @@ let
|
||||||
ll = "ls -al";
|
ll = "ls -al";
|
||||||
q = "exit";
|
q = "exit";
|
||||||
|
|
||||||
peach = "ssh lava@peach";
|
fa = "rg";
|
||||||
bunny = "ssh bunny@peach";
|
fai = "rg -i";
|
||||||
|
|
||||||
fa = "grep -Inr";
|
|
||||||
fai = "grep -Iinr";
|
|
||||||
|
|
||||||
g1 = "xgamma -gamma 1";
|
g1 = "xgamma -gamma 1";
|
||||||
g3 = "xgamma -gamma 1.3";
|
g3 = "xgamma -gamma 1.3";
|
||||||
|
|
||||||
bat = "echo 'battery' | doas tee /sys/class/drm/card1/device/power_dpm_state";
|
|
||||||
bal = "echo 'balanced' | doas tee /sys/class/drm/card1/device/power_dpm_state";
|
|
||||||
sclk = "doas setclock 50000 70000 800";
|
|
||||||
|
|
||||||
sysu = "doas systemctl restart";
|
sysu = "doas systemctl restart";
|
||||||
sysd = "doas systemctl stop";
|
sysd = "doas systemctl stop";
|
||||||
syss = "doas systemctl status";
|
syss = "doas systemctl status";
|
||||||
|
|
@ -38,7 +31,7 @@ let
|
||||||
jf = "doas journalctl -f";
|
jf = "doas journalctl -f";
|
||||||
|
|
||||||
fl = "cd ~/Projects/flakes";
|
fl = "cd ~/Projects/flakes";
|
||||||
nr = "doas nixos-rebuild switch --flake .#${sysConfig.networking.hostName} -v";
|
nr = "doas nixos-rebuild switch --flake .# -v -L";
|
||||||
|
|
||||||
gs = "git status";
|
gs = "git status";
|
||||||
ga = "git add";
|
ga = "git add";
|
||||||
|
|
@ -49,7 +42,7 @@ let
|
||||||
gco = "git checkout";
|
gco = "git checkout";
|
||||||
gd = "git diff";
|
gd = "git diff";
|
||||||
gds = "git diff --staged";
|
gds = "git diff --staged";
|
||||||
gf = "git commit --amend --no-edit --reset-author";
|
gf = "git commit --amend --reset-author --no-edit";
|
||||||
gl = "git log";
|
gl = "git log";
|
||||||
gr = "git rebase -i";
|
gr = "git rebase -i";
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue