made update.sh paths unambiguous

This commit is contained in:
paul-loedige
2024-02-11 21:47:28 +01:00
parent e4b5f81b3d
commit a32d324780
+6 -7
View File
@@ -387,10 +387,10 @@ fd
**** Doom Installation
~update.sh~ will install Doom Emacs if needed
#+begin_src shell :tangle update.sh
if [ ! -d "~/.config/doom" ]; then
if [ ! -d "/home/paul/.config/doom" ]; then
echo "Installing Doom Emacs ..."
git clone --depth 1 https://github.com/doomemacs/doomemacs ~/.config/emacs
~/.config/emacs/bin/doom install-devel
git clone --depth 1 https://github.com/doomemacs/doomemacs /home/paul/.config/emacs
/home/paul/.config/emacs/bin/doom install-devel
fi
#+end_src
**** add to PATH
@@ -865,7 +865,7 @@ curl
#+end_src
install if needed
#+begin_src shell :tangle update.sh
if [ ! -d "~/.oh-my-zsh" ]; then
if [ ! -d "/home/paul/.oh-my-zsh" ]; then
echo "Installing Oh-My-Zsh..."
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
fi
@@ -918,9 +918,9 @@ install if needed
git
#+end_src
#+begin_src shell :tangle update.sh
if [ ! -d "~/.oh-my-zsh/custom/themes/powerlevel10k" ]; then
if [ ! -d "/home/paul/.oh-my-zsh/custom/themes/powerlevel10k" ]; then
echo "Installing Powerlevel10k..."
git clone --depth=1 https://github.com/romkatv/powerlevel10k.git ~/.oh-my-zsh/custom/themes/powerlevel10k
git clone --depth=1 https://github.com/romkatv/powerlevel10k.git /home/paul/.oh-my-zsh/custom/themes/powerlevel10k
fi
#+end_src
set as zsh theme
@@ -970,7 +970,6 @@ and start
neofetch
#+end_src
* Themeing
** Doom Emacs
I like the [[https://github.com/Greduan/emacs-theme-gruvbox][Gruvbox Theme by Eduardo Lavaque]].