add shell aliases
This commit is contained in:
@@ -9,6 +9,22 @@
|
|||||||
fish_vi_key_bindings # Vi bindings
|
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 = [
|
plugins = [
|
||||||
# Enable a plugin (here grc for colorized command output) from nixpkgs
|
# Enable a plugin (here grc for colorized command output) from nixpkgs
|
||||||
{ name = "grc"; src = pkgs.fishPlugins.grc.src; }
|
{ name = "grc"; src = pkgs.fishPlugins.grc.src; }
|
||||||
|
|||||||
Reference in New Issue
Block a user