# ~/.bashrc: executed by bash(1) for non-login shells. # see /usr/share/doc/bash/examples/startup-files (in the package bash-doc) # for examples # If not running interactively, don't do anything case $- in *i*) ;; *) return;; esac export EDITOR='vim' export COSMOS_TUNA_PATH="$HOME/projects/comptche-shop" # setup rbenv export PATH="/home/nicolas/.rbenv/shims:${PATH}" export RBENV_SHELL=bash source '/usr/lib/rbenv/libexec/../completions/rbenv.bash' command rbenv rehash 2>/dev/null rbenv() { local command command="$1" if [ "$#" -gt 0 ]; then shift fi case "$command" in rehash|shell) eval "$(rbenv "sh-$command" "$@")";; *) command rbenv "$command" "$@";; esac } # end rbenv # 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 # for setting history length see HISTSIZE and HISTFILESIZE in bash(1) HISTSIZE=9001 HISTFILESIZE=18002 # check the window size after each command and, if necessary, # update the values of LINES and COLUMNS. shopt -s checkwinsize if [ -f ~/.bash_aliases ]; then . ~/.bash_aliases fi if [ -f ~/.bash_ps1 ]; then . ~/.bash_ps1 fi # 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