From 732c16a2cd8947498c6ab9dfc28bd0eab0962371 Mon Sep 17 00:00:00 2001 From: Jeremy Dormitzer Date: Wed, 6 Feb 2019 10:49:55 -0500 Subject: [PATCH] Set up $EDITOR and virtualenvwrapper; fix ls --- bash/.bashrc | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/bash/.bashrc b/bash/.bashrc index 6141cb0..02b38b3 100644 --- a/bash/.bashrc +++ b/bash/.bashrc @@ -5,7 +5,7 @@ # If not running interactively, don't do anything [[ $- != *i* ]] && return -alias ls='ls --color=auto' +alias ls='ls -G' PS1='[\u@\h \W]\$ ' if [ -f /usr/share/nvm/init-nvm.sh ]; @@ -16,7 +16,17 @@ fi GPG_TTY=$(tty) export GPG_TTY +if [ -f /usr/local/bin/virtualenvwrapper.sh ]; +then + export WORKON_HOME=$HOME/.virtualenvs + source /usr/local/bin/virtualenvwrapper.sh +fi + if [ -x "$(command -v direnv)" ]; then eval "$(direnv hook bash)" fi + +alias edit='emacsclient -nw' +EDITOR='emacsclient -nw' +export EDITOR