diff options
-rw-r--r-- | home-dots/dot-bash_profile | 6 | ||||
-rw-r--r-- | home-dots/dot-bashrc | 2 | ||||
-rw-r--r-- | home-dots/dot-profile | 8 |
3 files changed, 3 insertions, 13 deletions
diff --git a/home-dots/dot-bash_profile b/home-dots/dot-bash_profile deleted file mode 100644 index ea2a147..0000000 --- a/home-dots/dot-bash_profile +++ /dev/null @@ -1,6 +0,0 @@ -# -# ~/.bash_profile -# -[[ -f ~/.bashrc ]] && . ~/.bashrc -# [ -f "$HOME/.ghcup/env" ] && source "$HOME/.ghcup/env" # ghcup-env -# source "$HOME/.cargo/env" diff --git a/home-dots/dot-bashrc b/home-dots/dot-bashrc index 8829999..0409c38 100644 --- a/home-dots/dot-bashrc +++ b/home-dots/dot-bashrc @@ -37,7 +37,7 @@ git_current_branch() { echo " ${ref#refs/heads/}" } -source /usr/bin/virtualenvwrapper_lazy.sh +[[ -f /usr/bin/virtualenvwrapper_lazy.sh ]] && source /usr/bin/virtualenvwrapper_lazy.sh python_current_venv() { local orange="\[\e[0;91m\]" if [[ -n ${VIRTUAL_ENV} ]]; then diff --git a/home-dots/dot-profile b/home-dots/dot-profile index f156b80..084d096 100644 --- a/home-dots/dot-profile +++ b/home-dots/dot-profile @@ -1,8 +1,4 @@ #!/bin/sh export PATH="$HOME/.local/bin:$HOME/dev/dotfiles/bin:$PATH" -[ -f "$HOME/.ghcup/env" ] && source "$HOME/.ghcup/env" # ghcup-env -source "$HOME/.cargo/env" -# GUIX_PROFILE="$HOME/.guix-profile" && [ -e "$GUIX_PROFILE" ] && . "$GUIX_PROFILE/etc/profile" && export GUIX_LOCPATH=$GUIX_PROFILE/lib/locale -# GUIX_PROFILE="$HOME/.config/guix/current" && [ -e "$GUIX_PROFILE" ] && . "$GUIX_PROFILE/etc/profile" -# export SSL_CERT_DIR="$HOME/.guix-profile/etc/ssl/certs" -# export SSL_CERT_FILE="$HOME/.guix-profile/etc/ssl/certs/ca-certificates.crt" +[ -f "$HOME/.ghcup/env" ] && source "$HOME/.ghcup/env" +[ -f "$HOME/.cargo/env" ] && source "$HOME/.cargo/env" |