mirror of
https://github.com/Superredstone/nixos.git
synced 2026-03-07 20:28:08 +01:00
Refactor with nixfmt
This commit is contained in:
@@ -1,28 +1,28 @@
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
programs.fish = {
|
||||
enable = true;
|
||||
interactiveShellInit = ''
|
||||
# This is commented until a good way of installing themes is found
|
||||
# fish_config theme choose Catppuccin\ Mocha
|
||||
programs.fish = {
|
||||
enable = true;
|
||||
interactiveShellInit = ''
|
||||
# This is commented until a good way of installing themes is found
|
||||
# fish_config theme choose Catppuccin\ Mocha
|
||||
|
||||
function fish_greeting
|
||||
krabby random --no-title --padding-left 2
|
||||
end
|
||||
|
||||
function weather
|
||||
curl "wttr.in/Bolzano?0?Q?"
|
||||
end
|
||||
function fish_greeting
|
||||
krabby random --no-title --padding-left 2
|
||||
end
|
||||
|
||||
function weather
|
||||
curl "wttr.in/Bolzano?0?Q?"
|
||||
end
|
||||
|
||||
function dev
|
||||
nix develop --command "fish"
|
||||
end
|
||||
'';
|
||||
plugins = with pkgs.fishPlugins; [
|
||||
{
|
||||
name = "fzf.fish";
|
||||
src = fzf-fish.src;
|
||||
}
|
||||
];
|
||||
};
|
||||
function dev
|
||||
nix develop --command "fish"
|
||||
end
|
||||
'';
|
||||
plugins = with pkgs.fishPlugins; [
|
||||
{
|
||||
name = "fzf.fish";
|
||||
src = fzf-fish.src;
|
||||
}
|
||||
];
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user