X-Git-Url: https://us-delaporte.pagekite.me/gitweb/dotfiles.git/blobdiff_plain/49e76caa8f20de26fe628f6d78f42881a3a27cc7..f5e7834cf1d9852da24eae81c9e1dd72135b84be:/files/pc/bashrc diff --git a/files/pc/bashrc b/files/pc/bashrc index 32d1c1c..e2c3f84 100644 --- a/files/pc/bashrc +++ b/files/pc/bashrc @@ -123,10 +123,6 @@ fi # eval "$(oh-my-posh --init --shell bash --config ~/oh-my-posh.omp.json)" # Call Windows apps from within Windows Subsystem for Linux -alias code="/mnt/c/Program\ Files/Microsoft\ VS\ Code/bin/code" -alias clip="/mnt/c/Windows/system32/clip.exe" -alias paste="/mnt/c/Windows/System32/WindowsPowerShell/v1.0/powershell.exe -noprofile -command Get-Clipboard" -alias in="source $HOME/venv/invoke/bin/activate;cd $HOME/dotfiles/invoke" export PATH="$HOME/bin:$PATH" export PATH="$HOME/bin/platform-tools:$PATH" @@ -144,8 +140,13 @@ export SYSTEMD_EDITOR=/usr/bin/vim export GOROOT=/home/edward/.go export PATH=$GOROOT/bin:$PATH -source $HOME/envs/invoke/bin/activate -source $HOME/.env +# source $HOME/envs/invoke/bin/activate -# from invoke --print-completion-script bash > ~/.invoke-complete.sh +[[ -f $HOME/.env ]] && source $HOME/.env +[[ -d $HOME/dotfiles/bin ]] && export PATH="$HOME/dotfiles/bin:$PATH" +[[ -d $HOME/src/minion/bin ]] && export PATH="$HOME/src/minion/bin:$PATH" +[[ -d $HOME/src/down-shift/bin ]] && export PATH="$HOME/src/down-shift/bin:$PATH" + +[[ ! -f $HOME/.env ]] && $HOME/envs/invoke/bin/invoke --print-completion-script bash > ~/.invoke-complete.sh +alias invoke='source $HOME/envs/invoke/bin/activate' source $HOME/.invoke-complete.sh