add shell aliases

This commit is contained in:
RootHost-Stormwind
2025-01-13 01:24:42 +01:00
parent ecb1d2d567
commit 537560f92c
2 changed files with 16 additions and 0 deletions

View File

@@ -9,6 +9,22 @@
fish_vi_key_bindings # Vi bindings
'';
shellAliases = {
ll = "ls -l";
nix-update = "sudo nixos-rebuild switch -I nixos-config=/etc/nixos/master.nix";
gda = "git add --all";
gst = "git status";
gcm = "git commit -m";
gush = "git push";
gull = "git pull";
glone = "git clone";
giff = "git diff";
gog = "git log";
open = "xdg-open";
vim = "nvim";
vi = "nvim";
};
plugins = [
# Enable a plugin (here grc for colorized command output) from nixpkgs
{ name = "grc"; src = pkgs.fishPlugins.grc.src; }