[zsh] changed config function to alias

This commit is contained in:
Afonso Franco 2024-03-17 12:35:16 +00:00
parent f9315199a7
commit 7c8457f35e
Signed by: afonso
SSH key fingerprint: SHA256:JiuxZNdA5bRWXPMUJChI0AQ75yC+cXY4xM0IaVwEVys

View file

@ -1,7 +1,5 @@
# ~/.config/zsh/myfunctions/dotfiles.zsh # ~/.config/zsh/myfunctions/dotfiles.zsh
config() { alias config="/usr/bin/git --git-dir=$HOME/dotfiles/ --work-tree=$HOME"
/usr/bin/git --git-dir=$HOME/dotfiles/ --work-tree=$HOME $argv
}
alias lc="lazygit --git-dir=$HOME/dotfiles/ --work-tree=$HOME/" alias lc="lazygit --git-dir=$HOME/dotfiles/ --work-tree=$HOME/"