use fish functions and add lazygit
This commit is contained in:
parent
dcbe2406c9
commit
9f636334b1
2 changed files with 10 additions and 2 deletions
|
|
@ -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
|
||||||
|
'';
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
@ -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;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue