diff --git a/.bashrc b/.bashrc index 04a0ce6..b84c82b 100644 --- a/.bashrc +++ b/.bashrc @@ -5,9 +5,9 @@ # If not running interactively, don't do anything [ -z "$PS1" ] && return -# don't put duplicate lines in the history. See bash(1) for more options -# ... or force ignoredups and ignorespace -HISTCONTROL=ignoredups:ignorespace +# don't put duplicate lines or lines starting with space in the history. +# See bash(1) for more options +HISTCONTROL=ignoreboth # append to the history file, don't overwrite it shopt -s histappend @@ -20,6 +20,10 @@ HISTFILESIZE=2000 # update the values of LINES and COLUMNS. shopt -s checkwinsize +# If set, the pattern "**" used in a pathname expansion context will +# match all files and zero or more directories and subdirectories. +#shopt -s globstar + # make less more friendly for non-text input files, see lesspipe(1) [ -x /usr/bin/lesspipe ] && eval "$(SHELL=/bin/sh lesspipe)" @@ -36,7 +40,7 @@ esac # uncomment for a colored prompt, if the terminal has the capability; turned # off by default to not distract the user: the focus in a terminal window # should be on the output of commands, not on the prompt -force_color_prompt=yes +#force_color_prompt=yes if [ -n "$force_color_prompt" ]; then if [ -x /usr/bin/tput ] && tput setaf 1 >&/dev/null; then @@ -51,11 +55,13 @@ fi if [ "$color_prompt" = yes ]; then #PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ ' + # Michiel's colour config BLACK="\[\033[0m\]" BLUE="\[\033[0;34m\]" YELLOW="\[\033[0;33m\]" PROMPT_SYMBOL='$' PS1="$YELLOW\t $BLUE\u$BLACK@\h:\W$ " + # /Michiel's colour config else PS1='${debian_chroot:+($debian_chroot)}\u@\h:\w\$ ' fi