mirror of
https://codeberg.org/tmayoff/.dotfiles.git
synced 2025-12-06 08:48:34 -05:00
Setup hooks for chezmoi apply, setup nushell
This commit is contained in:
parent
fe689a9a67
commit
2e6db891ec
7 changed files with 38 additions and 89 deletions
|
|
@ -39,36 +39,5 @@
|
|||
src = pkgs.fishPlugins.forgit.src;
|
||||
}
|
||||
];
|
||||
|
||||
shellAliases = {
|
||||
# ls
|
||||
ls = "eza $eza_params";
|
||||
l = "eza --git-ignore $eza_params";
|
||||
ll = "eza --all --header --long $eza_params";
|
||||
llm = "eza --all --header --long --sort=modified $eza_params";
|
||||
la = "eza -lbhHigUmuSa";
|
||||
lx = "eza -lbhHigUmuSa@";
|
||||
lt = "eza --tree $eza_params";
|
||||
tree = "eza --tree $eza_params";
|
||||
|
||||
# Git
|
||||
gc = "git commit";
|
||||
gcm = "git commit -m";
|
||||
gac = "git add . && git commit";
|
||||
gacp = "gac && git push";
|
||||
gs = "git status";
|
||||
|
||||
# yac = "yadm add . && yadm commit";
|
||||
# yacp = "yac && yadm push";
|
||||
# yc = "pushd $HOME/.local/share/yadm/repo.git && git-forgit add && yadm commit && popd";
|
||||
# yd = "pushd $HOME/.local/share/yadm/repo.git && git-forgit diff && popd";
|
||||
|
||||
# nix
|
||||
flake = "nix flake";
|
||||
|
||||
# home-manager
|
||||
hm-upgrade = "nix flake update --flake ~/.local/share/chezmoi/dot_config/flake#";
|
||||
hm-update = "home-manager switch --flake ~/.config/flake";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue