user/zsh: update abbreviations

This commit is contained in:
LavaDesu 2022-12-03 00:00:03 +07:00
parent c520a64c34
commit a6d5057deb
Signed by: cilly
GPG key ID: 6500251E087653C9
2 changed files with 5 additions and 13 deletions

View file

@ -4,7 +4,6 @@
useUserPackages = true;
extraSpecialArgs = {
inherit enableGUI inputs modules;
sysConfig = config;
};
};
}

View file

@ -1,5 +1,5 @@
# vim: ft=nix
{ config, inputs, pkgs, sysConfig, ... }:
{ config, inputs, pkgs, ... }:
let
lib = pkgs.lib;
@ -15,19 +15,12 @@ let
ll = "ls -al";
q = "exit";
peach = "ssh lava@peach";
bunny = "ssh bunny@peach";
fa = "grep -Inr";
fai = "grep -Iinr";
fa = "rg";
fai = "rg -i";
g1 = "xgamma -gamma 1";
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";
sysd = "doas systemctl stop";
syss = "doas systemctl status";
@ -38,7 +31,7 @@ let
jf = "doas journalctl -f";
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";
ga = "git add";
@ -49,7 +42,7 @@ let
gco = "git checkout";
gd = "git diff";
gds = "git diff --staged";
gf = "git commit --amend --no-edit --reset-author";
gf = "git commit --amend --reset-author --no-edit";
gl = "git log";
gr = "git rebase -i";
};