From 8a08a4eb73b2a653b540a0c1e41c0d94cac0fb3d Mon Sep 17 00:00:00 2001 From: Michiel Scholten Date: Mon, 30 Jun 2014 14:23:51 +0200 Subject: [PATCH] Added default EDITOR vim, disabled the hg prompt as it did not update on dir change --- .bashrc | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.bashrc b/.bashrc index 3cae2ef..6ac354c 100644 --- a/.bashrc +++ b/.bashrc @@ -27,6 +27,9 @@ shopt -s checkwinsize # make less more friendly for non-text input files, see lesspipe(1) [ -x /usr/bin/lesspipe ] && eval "$(SHELL=/bin/sh lesspipe)" +# Default editor is vim +export EDITOR='vim' + # set variable identifying the chroot you work in (used in the prompt below) if [ -z "$debian_chroot" ] && [ -r /etc/debian_chroot ]; then debian_chroot=$(cat /etc/debian_chroot) @@ -72,8 +75,8 @@ if [ "$color_prompt" = yes ]; then BLUE="\[\033[0;34m\]" YELLOW="\[\033[0;33m\]" PROMPT_SYMBOL='$' - #PS1="$YELLOW\t $BLUE\u$BLACK@\h:\W$ " - PS1="$YELLOW\t $BLUE\u$BLACK@\h:\W$(hg_ps1)$ " + PS1="$YELLOW\t $BLUE\u$BLACK@\h:\W$ " + #PS1="$YELLOW\t $BLUE\u$BLACK@\h:\W$(hg_ps1)$ " #PS1="$YELLOW\t $BLUE\u$BLACK@\h:\W$(hg_ps1)$(__git_ps1)$ " # /Michiel's colour config else