diff --git a/bash/profile b/bash/profile index 9d4184f..1849bac 100755 --- a/bash/profile +++ b/bash/profile @@ -2,4 +2,7 @@ # ~/.profile # -[[ -f ~/.bashrc ]] && . ~/.bashrc +SHELL_NAME="$(basename $SHELL)" + +[[ "$SHELL_NAME" == "ksh" && -f ~/.kshrc ]] && export ENV="$HOME/.kshrc" +[[ "$SHELL_NAME" == "bash" && -f ~/.bashrc ]] && . ~/.bashrc diff --git a/ksh/kshrc b/ksh/kshrc new file mode 100644 index 0000000..a8d167f --- /dev/null +++ b/ksh/kshrc @@ -0,0 +1,2 @@ +HISTFILE="$HOME/.ksh_history" +HISTSIZE=10000