Compare commits

...

2 Commits

Author SHA1 Message Date
Alexandre LUCAZEAU b033f64e7f supprimé : git.nix
modifié :         home.nix
	renommé :         kdeconnect.nix -> ../../../modules/kdeconnect.nix
2023-07-23 11:53:56 +02:00
Alexandre LUCAZEAU d78f9fdf35 UPGRADE git config by adding alias 2023-07-23 11:38:03 +02:00
3 changed files with 27 additions and 2 deletions

View File

@ -2,7 +2,6 @@
imports = [
./packages.nix
./gnupg.nix
./git.nix
./variables.nix
./starship.nix
./i3status.nix
@ -10,11 +9,11 @@
./mails.nix
./dunst.nix
./bat.nix
# ./kdeconnect.nix
# ./redshift.nix
# ../../../modules/neovim.nix
../../../modules/rust.nix
../../../modules/tmux.nix
../../../modules/git.nix
];
home.keyboard = {
layout = "fr";

View File

@ -6,6 +6,32 @@
userName = "Alexandre LUCAZEAU";
aliases = {
ignore = "!gi() { curl -sL https://www.toptal.com/developers/gitignore/api/$@ ;}; gi";
aa = "add --all";
b = "branch -v";
bd = "branch -d";
bD = "branch -D";
br = "branch";
ci = "commit";
cim = "commit -m";
cima = "commit -am";
clr = "rm -r --cached";
co = "checkout";
cp = "cherry-pick -x";
d = "diff -w";
dc = "diff --cached";
nb = "checkout -b";
oups = "commit --amend --no-edit";
r = "remote -v";
rh = "reset --hard";
st = "status -sb";
t = "tag -l";
unstage = "reset HEAD";
uncommit = "reset --soft HEAD^";
pushfl = "push --force-with-lease";
lg = "lg1";
lg1 = "lg1-specific --all";
lg2 = "lg2-specific --all";
lg3 = "lg3-specific --all";
};
extraConfig = {
"color" = {