Install oh-my-posh for fish

This commit is contained in:
Manuel Thalmann 2023-05-27 23:48:32 +02:00
parent 4f9fc9f543
commit 71a7afcf28
2 changed files with 7 additions and 0 deletions

View file

@ -21,6 +21,7 @@ then
fi;
source "../bash/oh-my-posh.sh";
source "../fish/oh-my-posh.sh";
NEXTCLOUD_DIR="${NEXTCLOUD_DIR}" source "../Oh My Posh/install.sh";
popd > /dev/null;

View file

@ -0,0 +1,6 @@
#!/bin/bash
{
echo "# Oh My Posh!";
echo "oh-my-posh init fish --config /usr/share/oh-my-posh/themes/manuel.omp.json | source";
echo "oh-my-posh completion fish | source";
} | sudo tee /etc/fish/conf.d/oh-my-posh.fish;