1
0
Fork 0
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:
Hyacinthe Cartiaux 2023-02-06 21:56:42 +01:00
parent 750e4af15b
commit 54fe5aa07d
2 changed files with 6 additions and 1 deletions

View file

@ -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
View file

@ -0,0 +1,2 @@
HISTFILE="$HOME/.ksh_history"
HISTSIZE=10000