Move oh-my-posh theme to global folder
This commit is contained in:
parent
2aa9205ada
commit
f85c286b35
2 changed files with 2 additions and 2 deletions
|
@ -2,4 +2,4 @@
|
||||||
NEXTCLOUD_DIR="${NEXTCLOUD_DIR}";
|
NEXTCLOUD_DIR="${NEXTCLOUD_DIR}";
|
||||||
|
|
||||||
mkdir -p ~/.omp;
|
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/;
|
||||||
|
|
|
@ -4,7 +4,7 @@ then
|
||||||
{
|
{
|
||||||
echo "";
|
echo "";
|
||||||
echo "# Oh My Posh!";
|
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)"';
|
echo 'eval "$(oh-my-posh completion bash)"';
|
||||||
} | tee -a ~/.bashrc > /dev/null;
|
} | tee -a ~/.bashrc > /dev/null;
|
||||||
fi;
|
fi;
|
||||||
|
|
Loading…
Reference in a new issue