Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: The best way to know it is in zsh or bash



> basename $SHELL

This doesn't work.

$ declare -p BASH_VERSION
declare -- BASH_VERSION="5.0.0(1)-release"
$ zsh
$ declare -p SHELL
export SHELL=/usr/local/bin/bash

-- 
Regards,
Peng



Messages sorted by: Reverse Date, Date, Thread, Author