diff --git a/scripts/Common/Config/bash/oh-my-posh.sh b/scripts/Common/Config/bash/oh-my-posh.sh index 6ee4f0f7..78c95fb3 100755 --- a/scripts/Common/Config/bash/oh-my-posh.sh +++ b/scripts/Common/Config/bash/oh-my-posh.sh @@ -1,10 +1,11 @@ #!/bin/bash -if ! grep "\boh-my-posh\b" ~/.bashrc +if ! grep "\boh-my-posh\b" ~/.bashrc > /dev/null then { echo ""; echo "# Oh My Posh!"; echo 'eval "$(oh-my-posh init bash --config ~/.omp/manuel.omp.json)"' - } | tee -a ~/.bashrc; + echo 'eval "$(oh-my-posh completion bash)"'; + } | tee -a ~/.bashrc > /dev/null; fi;