File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 6767 # TODO: `posh` is packaged but doesn't work: https://github.com/serai-dex/serai/issues/703
6868 brew install ksh93 bash dash-shell zsh mksh oksh yash oils-for-unix
6969 SHELLS="sh ksh bash dash zsh mksh oksh yash osh"
70+
71+ # macOS also has the benefit of packaging (via MacPorts) `mrsh`,
72+ # which explicitly attempts to be be exactly POSIX, without any extensions.
73+ # We first have to install MacPorts, the easiest method being via source.
74+ curl -O https://distfiles.macports.org/MacPorts/MacPorts-2.11.6.tar.bz2
75+ tar xf MacPorts-2.11.6.tar.bz2
76+ cd MacPorts-2.11.6
77+ ./configure
78+ make
79+ sudo make install
80+ cd ..
81+
82+ # Now, we install `mrsh`.
83+ sudo port install mrsh
84+ SHELLS="$SHELLS mrsh"
7085 fi
7186
7287 # Install shells available via `cargo`
You can’t perform that action at this time.
0 commit comments