33 lines
765 B
Nix
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";
|
|
};
|
|
}
|