From 75b75bfacfe6275fb328794beb260f9ff5b3e6d1 Mon Sep 17 00:00:00 2001 From: awy Date: Sun, 24 Nov 2024 23:50:36 +0300 Subject: move git config into .config folder --- .config/shell/profile | 1 + rice.sh | 1 + 2 files changed, 2 insertions(+) diff --git a/.config/shell/profile b/.config/shell/profile index 1913c43..471371a 100644 --- a/.config/shell/profile +++ b/.config/shell/profile @@ -10,5 +10,6 @@ export XDG_CONFIG_HOME="$HOME/.config" export XDG_DATA_HOME="$HOME/.local/share" export XDG_CACHE_HOME="$HOME/.cache" export XDG_DOWNLOAD_DIR="$HOME/downloads" +export GIT_CONFIG="$XDG_CONFIG_HOME/git/config" [ "$(tty)" = "/dev/tty1" ] && ! pidof -s dwl >/dev/null 2>&1 && exec "$XDG_CONFIG_HOME/dwl/start" diff --git a/rice.sh b/rice.sh index 010cc15..738a86e 100755 --- a/rice.sh +++ b/rice.sh @@ -17,6 +17,7 @@ doas -u $PERMUSER cp -r "$WORKDIRECTORY"/.config /home/$PERMUSER doas -u $PERMUSER cp -r "$WORKDIRECTORY"/.local /home/$PERMUSER doas -u $PERMUSER cp -a "$WORKDIRECTORY"/.zprofile /home/$PERMUSER +doas -u $PERMUSER mkdir -p /home/$PERMUSER/.config/git doas -u $PERMUSER mkdir -p /home/$PERMUSER/.cache/lf doas -u $PERMUSER mkdir -p /home/$PERMUSER/.cache/zsh doas -u $PERMUSER mkdir -p /home/$PERMUSER/.local/share/themes -- cgit v1.2.3