mirror of
https://github.com/hcartiaux/dotfiles.git
synced 2024-10-18 09:15:24 +02:00
[bash,ksh] Initial ksh support
This commit is contained in:
parent
750e4af15b
commit
54fe5aa07d
2 changed files with 6 additions and 1 deletions
|
@ -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
|
||||
|
|
2
ksh/kshrc
Normal file
2
ksh/kshrc
Normal file
|
@ -0,0 +1,2 @@
|
|||
HISTFILE="$HOME/.ksh_history"
|
||||
HISTSIZE=10000
|
Loading…
Reference in a new issue