PortValhalla/scripts/Common/Config/bash/oh-my-posh.sh

10 lines
314 B
Bash
Executable file

#!/bin/bash
if ! grep "\boh-my-posh\b" ~/.bashrc > /dev/null
then
{
echo "";
echo "# Oh My Posh!";
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;