git update aliases

This commit is contained in:
Swarsel 2023-12-11 03:19:38 +01:00
parent 84b5cd816c
commit 49ef1a8186
Signed by: swarsel
GPG key ID: 26A54C31F2A4FD84
6 changed files with 13 additions and 1831 deletions

View file

@ -460,9 +460,12 @@ programs.eza = {
programs.git = {
enable = true;
aliases = {
a = "add";
c = "commit";
co = "checkout";
b = "branch";
s = "status";
r = "restore";
p = "pull";
pp = "push";
};
@ -620,7 +623,8 @@ programs.zsh = {
edithome = "bash ~/.dotfiles/scripts/editor.sh ~/.dotfiles/Nix.org";
magit = "emacsclient -nc -e \"(magit-status)\"";
config="git --git-dir=$HOME/.cfg/ --work-tree=$HOME";
c="git --git-dir=$HOME/.cfg/ --work-tree=$HOME";
g="git";
c="git --git-dir=$HOME/.dotfiles/.git --work-tree=$HOME/.dotfiles/";
passpush = "cd ~/.local/share/password-store; git add .; git commit -m 'pass file changes'; git push; cd -;";
passpull = "cd ~/.local/share/password-store; git pull; cd -;";
};