flake/home/fish.nix
2025-06-26 22:21:30 +03:00

25 lines
611 B
Nix

{
programs.fish = {
enable = true;
interactiveShellInit = ''
set -g fish_greeting
'';
shellAliases = {
c = "code .";
l = "eza --all --long --git --icons --sort size --header --group-directories-first";
ll = "eza --all --long --git --icons --sort name --header --group-directories-first";
free = "free -h";
df = "df -h";
du = "du -h";
lg = "lazygit";
onefetch = "onefetch -T prose -T programming -T data";
};
functions = {
gitu = ''
git add --all
git commit -m "$argv"
git push
'';
};
};
}