---------------------------------------------------------
# .bash_profile
# Get the aliases and functions if [ -f ~/.bashrc ]; then . ~/.bashrc fi
# User specific environment and startup programs
PATH=$PATH:$HOME/bin
export PATH unset USERNAME EDITOR=nano export EDITOR
unset testan
declare -a testan
testan=("AA" "BB" "CC" "DD" "EE" "FF" "GG" "HH" "II" "JJ" "KK" "LL" "MM" "NN")
export testan
---------------------------------------------------------------------
This does what I intended:
[rj@mavis rj]$ echo ${testan[ $RANDOM % 13]}
II
[rj@mavis rj]$
...except that constantly logging out and in while testing is a royal PITA.
What is the proper way cause .bash_profile to be re-examined?