use fish functions and add lazygit

This commit is contained in:
Osman Faruk Bayram 2025-03-13 20:01:32 +03:00
parent dcbe2406c9
commit 9f636334b1
2 changed files with 10 additions and 2 deletions

View file

@ -10,6 +10,14 @@
free = "free -h"; free = "free -h";
df = "df -h"; df = "df -h";
du = "du -h"; du = "du -h";
lg = "lazygit";
};
functions = {
gitu = ''
git add --all
git commit -m "$argv"
git push
'';
}; };
}; };
} }

View file

@ -1,4 +1,4 @@
{config, ...}: { {config, pkgs, ...}: {
imports = [ imports = [
./alacritty.nix ./alacritty.nix
./tmux ./tmux
@ -17,7 +17,7 @@
home.homeDirectory = "/home/osbm"; home.homeDirectory = "/home/osbm";
home.packages = [ home.packages = [
# dont install packages here, just use normal nixpkgs pkgs.lazygit
]; ];
home.stateVersion = config.system.stateVersion; home.stateVersion = config.system.stateVersion;