diff options
Diffstat (limited to 'home-dots')
-rw-r--r-- | home-dots/dot-bashrc | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/home-dots/dot-bashrc b/home-dots/dot-bashrc index 098d855..5488946 100644 --- a/home-dots/dot-bashrc +++ b/home-dots/dot-bashrc @@ -14,11 +14,8 @@ HISTCONTROL=ignorespace # enable color support of ls and also add handy aliases if [ -x /usr/bin/dircolors ]; then - test -r ~/.dircolors && eval "$(dircolors -b ~/.dircolors)" || eval "$(dircolors -b)" + # test -r ~/.dircolors && eval "$(dircolors -b ~/.dircolors)" || eval "$(dircolors -b)" alias ls='ls --color=auto' - #alias dir='dir --color=auto' - #alias vdir='vdir --color=auto' - alias grep='grep --color=auto' alias fgrep='fgrep --color=auto' alias egrep='egrep --color=auto' @@ -41,7 +38,7 @@ git_current_branch() { python_current_venv() { local orange="\[\e[0;91m\]" if [[ -n ${VIRTUAL_ENV} ]]; then - echo " ${orange} $(basename ${VIRTUAL_ENV})" + echo " ${orange} $(basename "${VIRTUAL_ENV}")" fi } @@ -73,7 +70,8 @@ export EDITOR='emacsclient' if [ -z "$SSH_CLIENT" ]; then unset SSH_AGENT_PID if [ "${gnupg_SSH_AUTH_SOCK_by:-0}" -ne $$ ]; then - export SSH_AUTH_SOCK="$(gpgconf --list-dirs agent-ssh-socket)" + SSH_AUTH_SOCK="$(gpgconf --list-dirs agent-ssh-socket)" + export SSH_AUTH_SOCK fi fi |