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 **** Doom Installation
~update.sh~ will install Doom Emacs if needed ~update.sh~ will install Doom Emacs if needed
#+begin_src shell :tangle update.sh #+begin_src shell :tangle update.sh
if [ ! -d "~/.config/doom" ]; then if [ ! -d "/home/paul/.config/doom" ]; then
echo "Installing Doom Emacs ..." echo "Installing Doom Emacs ..."
git clone --depth 1 https://github.com/doomemacs/doomemacs ~/.config/emacs git clone --depth 1 https://github.com/doomemacs/doomemacs /home/paul/.config/emacs
~/.config/emacs/bin/doom install-devel /home/paul/.config/emacs/bin/doom install-devel
fi fi
#+end_src #+end_src
**** add to PATH **** add to PATH
@@ -865,7 +865,7 @@ curl
#+end_src #+end_src
install if needed install if needed
#+begin_src shell :tangle update.sh #+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..." echo "Installing Oh-My-Zsh..."
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
fi fi
@@ -918,9 +918,9 @@ install if needed
git git
#+end_src #+end_src
#+begin_src shell :tangle update.sh #+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..." 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 fi
#+end_src #+end_src
set as zsh theme set as zsh theme
@@ -970,7 +970,6 @@ and start
neofetch neofetch
#+end_src #+end_src
* Themeing * Themeing
** Doom Emacs ** Doom Emacs
I like the [[https://github.com/Greduan/emacs-theme-gruvbox][Gruvbox Theme by Eduardo Lavaque]]. I like the [[https://github.com/Greduan/emacs-theme-gruvbox][Gruvbox Theme by Eduardo Lavaque]].