Download:
child 61:8744a2372379
parent 59:de326ca4ea5a
60:898e88bd89fb
Anton Shestakov <engored@ya.ru>, Thu, 11 Sep 2014 16:04:26 +0900
.bashrc

1 файлов изменено, 45 вставок(+), 0 удалений(-) [+]
.bashrc file | annotate | diff | comparison | revisions
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/.bashrc Thu Sep 11 16:04:26 2014 +0900
@@ -0,0 +1,45 @@
+# If not running interactively, don't do anything
+case $- in
+ *i*) ;;
+ *) return;;
+esac
+
+# append to the history file, don't overwrite it
+shopt -s histappend
+
+HISTSIZE=5000
+HISTFILESIZE=5000
+HISTCONTROL=ignoreboth
+
+# check the window size after each command and, if necessary,
+# 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)"
+
+if [ -f ~/.bash_aliases ]; then
+ . ~/.bash_aliases
+fi
+
+if [ -f ~/.bash_prompt ]; then
+ . ~/.bash_prompt
+fi
+
+# pip cache
+export PIP_DOWNLOAD_CACHE=~/.pip/cache
+
+# enable programmable completion features (you don't need to enable
+# this, if it's already enabled in /etc/bash.bashrc and /etc/profile
+# sources /etc/bash.bashrc).
+if ! shopt -oq posix; then
+ if [ -f /usr/share/bash-completion/bash_completion ]; then
+ . /usr/share/bash-completion/bash_completion
+ elif [ -f /etc/bash_completion ]; then
+ . /etc/bash_completion
+ fi
+fi