more fish config, less alias more abbr
This commit is contained in:
parent
e3e6fdc334
commit
63820f0cee
1 changed files with 15 additions and 19 deletions
|
@ -88,7 +88,19 @@
|
|||
};
|
||||
};
|
||||
|
||||
home.shellAliases = {
|
||||
programs.fish = {
|
||||
enable = true;
|
||||
plugins = with pkgs.fishPlugins; [
|
||||
{ name = "tide"; src = pure.src; }
|
||||
{ name = "bass"; src = bass.src; }
|
||||
{ name = "sponge"; src = sponge.src; }
|
||||
];
|
||||
functions = {
|
||||
start = "
|
||||
niri-session
|
||||
";
|
||||
};
|
||||
shellAbbrs = {
|
||||
ga = "git add";
|
||||
gc = "git commit";
|
||||
gp = "git push";
|
||||
|
@ -98,24 +110,8 @@
|
|||
|
||||
repl = "nix repl --expr 'import <nixpkgs>{}'";
|
||||
|
||||
nrb = "sudo nixos-rebuild switch --flake . --cores 0";
|
||||
nrb = "sudo nixos-rebuild switch --cores 0 --flake .";
|
||||
nd = "nix develop";
|
||||
|
||||
neofetch = "hyfetch";
|
||||
};
|
||||
|
||||
# For direnv and shell aliases the shell needs to be managed by hm
|
||||
programs.bash.enable = true;
|
||||
|
||||
programs.fish = {
|
||||
enable = true;
|
||||
plugins = with pkgs.fishPlugins; [
|
||||
{ name = "tide"; src = pure.src; }
|
||||
];
|
||||
functions = {
|
||||
start = "
|
||||
niri-session
|
||||
";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue