vimrc: YCM only if python3 enabled

This commit is contained in:
2023-05-17 11:29:50 +02:00
parent 144ea8b936
commit 5b12de7672
5 changed files with 24 additions and 8 deletions

View File

@@ -43,7 +43,7 @@ source_existing ~/.bash_prompt.kuba
source_existing ~/.python-venv.kuba/bin/activate
if command -v ipython &> /dev/null; then
alias p=ipython
alias p=ipython --pylab
elif command -v python &> /dev/null; then
alias p=python
fi