Install the git-sync script directly from the upstream repository

This commit is contained in:
Ohad Livne 2025-06-04 22:47:17 +03:00
parent 3ab55ee128
commit cb1435a7e0
Signed by: libohad-dev
GPG key ID: 34FDC68B51191A4D
4 changed files with 24 additions and 0 deletions

View file

@ -30,6 +30,11 @@ if [ -d "$HOME/.local/bin" ] ; then
PATH="$HOME/.local/bin:$PATH"
fi
# Install the git-sync script
if [ -d "$(systemd-path user-state-private)"/git-sync ] ; then
PATH="$(systemd-path user-state-private)/git-sync:$PATH"
fi
umask 0007
export EDITOR="/usr/local/bin/emacs --no-init-file --no-splash --no-window-system"
export VISUAL="/usr/local/bin/emacs --no-init-file --no-splash --no-window-system"