flake/home/fish.nix
2025-03-13 20:29:00 +03:00

23 lines
388 B
Nix

{
programs.fish = {
enable = true;
interactiveShellInit = ''
set -g fish_greeting
'';
shellAliases = {
c = "code .";
l = "ls -lah";
free = "free -h";
df = "df -h";
du = "du -h";
lg = "lazygit";
};
functions = {
gitu = ''
git add --all
git commit -m "$argv"
git push
'';
};
};
}