Initial commit (after fork)

This commit is contained in:
Pedro Rey Anca 2024-07-08 18:00:42 +02:00
parent 5ebba8a939
commit 5fe3f69a17
111 changed files with 1428 additions and 1611 deletions

View file

@ -1,5 +1,10 @@
{ hostname, config, pkgs, host, ...}:
{
hostname,
config,
pkgs,
host,
...
}: {
programs.zsh = {
enable = true;
enableCompletion = true;
@ -7,7 +12,7 @@
syntaxHighlighting.enable = true;
oh-my-zsh = {
enable = true;
plugins = [ "git" "fzf" ];
plugins = ["git" "fzf"];
};
initExtraFirst = ''
DISABLE_MAGIC_FUNCTIONS=true
@ -44,21 +49,21 @@
nix-clean = "sudo nix-collect-garbage && sudo nix-collect-garbage -d && sudo rm /nix/var/nix/gcroots/auto/* && nix-collect-garbage && nix-collect-garbage -d";
# Git
ga = "git add";
gaa = "git add --all";
gs = "git status";
gb = "git branch";
gm = "git merge";
gpl = "git pull";
ga = "git add";
gaa = "git add --all";
gs = "git status";
gb = "git branch";
gm = "git merge";
gpl = "git pull";
gplo = "git pull origin";
gps = "git push";
gps = "git push";
gpst = "git push --follow-tags";
gpso = "git push origin";
gc = "git commit";
gcm = "git commit -m";
gc = "git commit";
gcm = "git commit -m";
gcma = "git add --all && git commit -m";
gtag = "git tag -ma";
gch = "git checkout";
gch = "git checkout";
gchb = "git checkout -b";
gcoe = "git config user.email";
gcon = "git config user.name";