synix/modules/home/common/shellAliases.nix
sid 95a533c876
All checks were successful
Deploy docs / build-and-deploy (push) Successful in 3s
initial commit
2026-02-23 20:34:35 +01:00

33 lines
765 B
Nix

{
home.shellAliases = {
l = "ls -lh";
ll = "ls -lAh";
ports = "ss -tulpn";
publicip = "curl ifconfig.me/all";
sudo = "sudo "; # make aliases work with `sudo`
# systemd
userctl = "systemctl --user";
enable = "systemctl --user enable";
disable = "systemctl --user disable";
start = "systemctl --user start";
stop = "systemctl --user stop";
journal = "journalctl --user";
# git
ga = "git add";
gb = "git branch";
gc = "git commit";
gcl = "git clone";
gco = "git checkout";
gcp = "git cherry-pick -x";
gd = "git diff";
gf = "git fetch --all";
gl = "git log";
gm = "git merge";
gp = "git push";
gpl = "git pull";
gr = "git remote";
gs = "git status";
};
}