diff --git a/scripts/Common/Config/Oh My Posh/install.sh b/scripts/Common/Config/Oh My Posh/install.sh index 6a7af624..8de5ad04 100755 --- a/scripts/Common/Config/Oh My Posh/install.sh +++ b/scripts/Common/Config/Oh My Posh/install.sh @@ -2,4 +2,4 @@ NEXTCLOUD_DIR="${NEXTCLOUD_DIR}"; mkdir -p ~/.omp; -cp ~/.mnt/$NEXTCLOUD_DIR/.omp/manuel.omp.json ~/.omp/manuel.omp.json; +sudo cp ~/.mnt/$NEXTCLOUD_DIR/.omp/manuel.omp.json /usr/share/oh-my-posh/themes/; diff --git a/scripts/Common/Config/bash/oh-my-posh.sh b/scripts/Common/Config/bash/oh-my-posh.sh index 78c95fb3..4c2b9ac1 100755 --- a/scripts/Common/Config/bash/oh-my-posh.sh +++ b/scripts/Common/Config/bash/oh-my-posh.sh @@ -4,7 +4,7 @@ then { echo ""; echo "# Oh My Posh!"; - echo 'eval "$(oh-my-posh init bash --config ~/.omp/manuel.omp.json)"' + echo 'eval "$(oh-my-posh init bash --config /usr/share/oh-my-posh/themes/manuel.omp.json)"' echo 'eval "$(oh-my-posh completion bash)"'; } | tee -a ~/.bashrc > /dev/null; fi;