From e7c4da3e5901b418d856570760924fad4b41340c Mon Sep 17 00:00:00 2001 From: Neal Probert Date: Wed, 7 Jun 2023 08:16:42 -0400 Subject: [PATCH] Fixed up bashrc --- dot/bashrc | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/dot/bashrc b/dot/bashrc index 32707c3..4e5a3db 100644 --- a/dot/bashrc +++ b/dot/bashrc @@ -1,8 +1,11 @@ # NTCNA V2X development # Python and VirtualEnv -if [ -d ~/.local/bin ]; then - export PATH=~/.local/bin:$PATH +if [ -d $HOME/.local/bin ]; then + export PATH=$HOME/.local/bin:$PATH +else + mkdir -p $HOME/.local/bin + export PATH=$HOME/.local/bin:$PATH fi if [ -x /usr/local/bin/virtualenvwrapper.sh ]; then VIRTUALENVWRAPPER_PYTHON=/usr/bin/python3 @@ -10,8 +13,8 @@ if [ -x /usr/local/bin/virtualenvwrapper.sh ]; then fi # Android Studio -if [ -d ~/android-studio ]; then - export PATH=$PATH:~/android-studio/bin +if [ -d $HOME/android-studio ]; then + export PATH=$PATH:$HOME/android-studio/bin fi # Marben ASN.1 compiler