diff options
author | awy <awy@awy.one> | 2024-11-24 23:50:36 +0300 |
---|---|---|
committer | awy <awy@awy.one> | 2024-11-24 23:50:36 +0300 |
commit | 75b75bfacfe6275fb328794beb260f9ff5b3e6d1 (patch) | |
tree | 325d819daf9e1e02ea80023996af8cd36c62d8b0 | |
parent | 7e23cb3a9e05a3c9641abed463c018d098cb4ad1 (diff) |
move git config into .config folder
-rw-r--r-- | .config/shell/profile | 1 | ||||
-rwxr-xr-x | rice.sh | 1 |
2 files changed, 2 insertions, 0 deletions
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" @@ -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 |