2

I've created .kshrc file in my home directory, but all my custom settings are ignored. ENV variable is not set. How can I force ksh to read .kshrc?

Here is my .kshrc:

set -o emacs

export PATH=$PATH:/home/ibykov/bin:/usr/vacpp/bin

PS1="ibykov@host:${PWD##*/}\$"

ibykov
  • 53
  • 4

1 Answers1

2

Add below line into your .profile.

  export ENV=$HOME/.kshrc 
MangeshBiradar
  • 1,820
  • 4
  • 16
  • 17