Move oh-my-posh theme to global folder
This commit is contained in:
parent
8eb579b251
commit
9e4a65a45d
|
@ -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/;
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue