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

11 lines
315 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;