From b391b0266dee0cc8467524aa72bb88217c6c6d4f Mon Sep 17 00:00:00 2001 From: Bauke Date: Fri, 13 May 2022 14:13:20 +0200 Subject: [PATCH] Replace dotfiles alias with environment variables. --- .aliases.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.aliases.zsh b/.aliases.zsh index 6435956..4b1298a 100644 --- a/.aliases.zsh +++ b/.aliases.zsh @@ -3,7 +3,7 @@ alias o="xdg-open" alias trash="gio trash" alias youtube-dl="yt-dlp" -alias dotfiles="git --git-dir $HOME/.dotfiles --work-tree $HOME" +alias dotfiles="GIT_DIR=$HOME/.dotfiles GIT_WORK_TREE=$HOME" alias gap="git add --patch" alias gd="git diff" alias gdc="git diff --cached"