Move oh-my-posh theme to global folder

This commit is contained in:
Manuel Thalmann 2023-05-27 23:40:44 +02:00
parent 8eb579b251
commit 9e4a65a45d
2 changed files with 2 additions and 2 deletions

View file

@ -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/;

View file

@ -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;