Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'zsh functions ?' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
zsh functions ?
Authored by: gatorparrots on Sep 19, '03 01:40:15PM
With zsh you can put the functions just about anywhere you like:
       Commands  are  then  read  from  $ZDOTDIR/.zshenv.  If the
       shell is a login shell, commands are read from  /etc/zpro-
       file  and  then $ZDOTDIR/.zprofile.  Then, if the shell is
       interactive, commands are read from  /etc/zshrc  and  then
       $ZDOTDIR/.zshrc.   Finally, if the shell is a login shell,
       /etc/zlogin and $ZDOTDIR/.zlogin are read.

       If  ZDOTDIR  is  unset, HOME is used instead.  Those files
       listed above as being in /etc may be in another directory,
       depending on the installation.
These functions should also work under the bash shell, but I have not tested them in that environment.

[ Reply to This | # ]