updated fish plugins

This commit is contained in:
Sven Vogel 2023-12-14 14:48:04 +01:00
parent c5d2e8d5ce
commit c6d0de14c0
2 changed files with 30 additions and 9 deletions

View File

@ -154,13 +154,14 @@ in
environment.systemPackages = (with pkgs; [ environment.systemPackages = (with pkgs; [
(python3.withPackages(python-packages)) (python3.withPackages(python-packages))
fishPlugins.done fishPlugins.done # notifications for background process finished
fishPlugins.fzf-fish fishPlugins.fzf-fish
fishPlugins.forgit fishPlugins.forgit
fishPlugins.hydro
fzf fzf
fishPlugins.grc fishPlugins.grc
grc grc
fishPlugins.tide # asynchronous prompt for fish shell
fishPlugins.autopair
distrobox distrobox

View File

@ -68,7 +68,6 @@
efibootmgr efibootmgr
# less like program for listing a file with colors # less like program for listing a file with colors
# used as a replacement pager for colored man pages # used as a replacement pager for colored man pages
most
lazygit lazygit
lazydocker lazydocker
pandoc pandoc
@ -127,7 +126,6 @@
home = { home = {
stateVersion = "23.11"; stateVersion = "23.11";
sessionVariables = { sessionVariables = {
PAGER = "most"; # use most as pager program for man pages (colors!)
EDITOR = "nvim"; # overwrite editor EDITOR = "nvim"; # overwrite editor
}; };
}; };
@ -147,17 +145,12 @@
ms-python.vscode-pylance ms-python.vscode-pylance
]; ];
}; };
programs.starship = {
enable = true;
enableFishIntegration = true;
};
programs.kitty = { programs.kitty = {
enable = true; enable = true;
}; };
# ------------------------------------------------------ # ------------------------------------------------------
# Config files # Config files
xdg.configFile."starship.toml".source = config/starship.toml; # starship prompt configuration
xdg.configFile."VSCodium/User/settings.json".source = config/settings.json; # VSCodium settings xdg.configFile."VSCodium/User/settings.json".source = config/settings.json; # VSCodium settings
xdg.configFile."aacs/KEYDB.cfg".source = config/keydb.cfg; # key database for blueray decryption xdg.configFile."aacs/KEYDB.cfg".source = config/keydb.cfg; # key database for blueray decryption
# kitty configuration # kitty configuration
@ -171,6 +164,33 @@
interactiveShellInit = '' interactiveShellInit = ''
set fish_greeting # Disable greeting set fish_greeting # Disable greeting
''; '';
plugins = [
{
name = "fzf-fish";
src = pkgs.fishPlugins.fzf-fish.src;
}
{
name = "forgit";
src = pkgs.fishPlugins.forgit.src;
}
{
name = "grc";
src = pkgs.fishPlugins.grc.src;
}
{
name = "done";
src = pkgs.fishPlugins.done.src;
}
{
name = "autopair";
src = pkgs.fishPlugins.autopair.src;
}
];
};
programs.starship = {
enable = true;
enableFishIntegration = true;
}; };
programs.eza = { programs.eza = {