1
0
mirror of https://github.com/aquatix/dotfiles.git synced 2025-12-06 21:45:10 +01:00

Added default EDITOR vim, disabled the hg prompt as it did not update on dir change

This commit is contained in:
Michiel Scholten
2014-06-30 14:23:51 +02:00
parent 9361acf3fa
commit 8a08a4eb73

View File

@@ -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