You want your shell stuff to work the same way even when you use a
different shell, or even a different box. Right?
If you use poshinit (Portable Shell Initialization), you can attain at
least most of what you desire, perhaps even all. You can log out of Bash
and log in with Zsh (or vice versa) - and your aliases/exports/functions
will continue to work as before.
It gets better - if someday you need to use a different box with a
different OS, you can get your shell to work your 'normal' way in a
jiffy. Just save your $HOME/.shell directory on your primary box, and
paste it over your second box's $HOME/.shell (after running poshinit
setup script on the second box). The second box need not be the same
operating system - poshinit works across FreeBSD / Linux / Cygwin.
WWW: https://github.com/bourne-again/poshinit
PR: 232315
Submitted by: bourne.identity@hotmail.com
Reviewed by: Nathan, Walter Schwarzenfeld, tobik (previous versions)
63e9edcb6084d4b164439065e2d71f3e900ec3c7 resolves this issue.
Unfortunately it does not apply, requiring this port to be upated to
ksh93 well into ksh93-devel. Bringing ksh93 up to the ksh93-devel or
shy of it would negate the justification for ksh93's existence. It is
therefore recommended that people use ksh93-devel on architectures that
use GCC 9 or use GCC 8.
PR: 239644
Reported by: pkubaj@
as defined in Mk/bsd.default-versions.mk which has moved from GCC 8.3
to GCC 9.1 under most circumstances now after revision 507371.
This includes ports
- with USE_GCC=yes or USE_GCC=any,
- with USES=fortran,
- using Mk/bsd.octave.mk which in turn features USES=fortran, and
- with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, everything INDEX-11 shows with a dependency on lang/gcc9 now.
PR: 238330
Yash, yet another shell, is a POSIX-compliant command line shell.
Yash is intended to be the most POSIX-compliant shell in the world
while supporting features for daily interactive and scripting use.
Notable features are:
* Global aliases
* Arrays
* Socket redirection, pipeline redirection, and process redirection
* Brace expansion and extended globbing
* Fractional numbers in arithmetic expansion
* Prompt command and command-not-found handler
* Command line completion with predefined completion scripts for more
than 100 commands
* Command line prediction based on command history
WWW: https://yash.osdn.jp/index.html.en