Commit 0954604f authored by Mohcine Chraibi's avatar Mohcine Chraibi

don't override existing configs

parent 2a58839a
Pipeline #5953 passed with stage
in 7 seconds
......@@ -19,8 +19,6 @@ touch $orgfileDir/journal.org
touch $orgfileDir/notes.org
touch $orgfileDir/meeting.org
# download config file
git clone https://gitlab.version.fz-juelich.de/chraibi1/san_emacs.git $HOME/.emacs.d
# add some useful aliases
# .. for bash
echo "alias em=emacs25" >> ~/.bashrc
......@@ -30,3 +28,9 @@ source ~/.bashrc
echo "alias em=emacs25" >> ~/.zshrc
echo "alias emacs=emacs25" >> ~/.zshrc
source ~/.zshrc
# download config file
if [ ! -d $HOME/.emacs.d ]
then
git clone https://gitlab.version.fz-juelich.de/chraibi1/san_emacs.git $HOME/.emacs.d
fi
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment