aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/%HOME%/.bashrc
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2016-10-28 18:22:15 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2016-10-28 18:22:15 +0300
commitb88cf85adc0be578073894ce0f49051008707cb0 (patch)
treee727ce03dabe22ed181a5d01ebc18943858a580e /%HOME%/.bashrc
parentbugfix (diff)
downloadlinux-home-b88cf85adc0be578073894ce0f49051008707cb0.tar.gz
linux-home-b88cf85adc0be578073894ce0f49051008707cb0.zip
remove more dead code from bash dotfiles
Diffstat (limited to '')
-rw-r--r--%HOME%/.bashrc36
1 files changed, 4 insertions, 32 deletions
diff --git a/%HOME%/.bashrc b/%HOME%/.bashrc
index 9aea508..7ef4910 100644
--- a/%HOME%/.bashrc
+++ b/%HOME%/.bashrc
@@ -1,35 +1,7 @@
-[[ "$-" != *i* ]] && return
-
-# Completion options
-#
-# These completion tuning parameters change the default behavior of bash_completion:
-#
-# Define to access remotely checked-out files over passwordless ssh for CVS
-# COMP_CVS_REMOTE=1
-#
-# Define to avoid stripping description in --option=description of './configure --help'
-# COMP_CONFIGURE_HINTS=1
-#
-# Define to avoid flattening internal contents of tar files
-# COMP_TAR_INTERNAL_PATHS=1
-#
-# Uncomment to turn on programmable completion enhancements.
-# Any completions you add in ~/.bash_completion are sourced last.
-# [[ -f /etc/bash_completion ]] && . /etc/bash_completion
-
-# History Options
-#
-# Don't put duplicate lines in the history.
-# export HISTCONTROL=$HISTCONTROL${HISTCONTROL+,}ignoredups
-#
-# Ignore some controlling instructions
-# HISTIGNORE is a colon-delimited list of patterns which should be excluded.
-# The '&' is a special pattern which suppresses duplicate entries.
-# export HISTIGNORE=$'[ \t]*:&:[fb]g:exit'
-# export HISTIGNORE=$'[ \t]*:&:[fb]g:exit:ls' # Ignore the ls command as well
-#
-# Whenever displaying the prompt, write the previous line to disk
-# export PROMPT_COMMAND="history -a"
+case "$-" in
+ *i*) ;;
+ *) return ;;
+esac
PS1='\[\e[33m\]\W\[\e[0m\]: '