Creating a .dbxrc File |
The .dbxrc file uses KornShell syntax; old-style dbx aliases do not work in a .dbxrc file.
To convert your old .dbxinit file into a .dbxrc file:
If you routinely use newer and older releases of dbx, you might wish to retain your .dbxinit file and add uses of new functionality to a .dbxrc file that sources your .dbxinit file.
To read in the existing .dbxinit file, if any, you must assume that old-style aliases may be found, so you must temporarily redefine alias:
kalias alias=dalias
if [ -r .dbxinit ]
then source .dbxinit
elif [ -r $HOME/.dbxinit ]
then source $HOME/.dbxinit
fi
kalias alias=kalias