diff options
Diffstat (limited to '.bashrc')
| -rw-r--r-- | .bashrc | 19 |
1 files changed, 10 insertions, 9 deletions
@@ -1,10 +1,16 @@ +#!/usr/bin/env bash # # getchoo's bashrc # - # always source profile -source "$HOME/.bash_profile" +source "${HOME}/.bash_profile" + +# drop into fish +## if [[ $(ps --no-header --pid=$PPID --format=comm) != "fish" && -z ${BASH_EXECUTION_STRING} ]] +## then +## exec fish +## fi # options shopt -s cdspell @@ -14,17 +20,12 @@ shopt -s globstar shopt -s nocaseglob shopt -s no_empty_cmd_completion -export HISTFILE="$XDG_STATE_HOME/bash/history" +export HISTFILE="${XDG_STATE_HOME}/bash/history" export HISTSIZE=100 export HISTFILESIZE=1000 # source aliases -source "$XDG_CONFIG_HOME/shell/aliases" +source "${XDG_CONFIG_HOME}/shell/aliases" # prompt PS1='[\u@\h \W]\$ ' - -#if [[ $(ps --no-header --pid=$PPID --format=comm) != "fish" && -z ${BASH_EXECUTION_STRING} ]] -#then -# exec fish -#fi |
