]> git.phdru.name Git - dotfiles.git/blobdiff - .shellrc
.fvwm/main.m4: add macros for ssh connection sharing terms
[dotfiles.git] / .shellrc
index 90442e0e097a1672970e1cd2260b9ce0be7ba597..7b362b894343cebf856e0e86016dc912f6a80210 100644 (file)
--- a/.shellrc
+++ b/.shellrc
@@ -15,6 +15,7 @@ esac
 # Stop if non-interactive shell
 # [ -z "$PS1" ] && return
 
+if test -n "$BASH_VERSION"; then
 # append to the history file, don't overwrite it
 shopt -s histappend
 
@@ -25,6 +26,7 @@ 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
+fi
 
 
 #if [ -x /usr/bin/dircolors ]; then