-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Open
Labels
feature requesthelp wantedseems abandonedrattle the cage, and close if nobody wants to keep it goingrattle the cage, and close if nobody wants to keep it going
Description
Solaris and Illumos use Bash as the default shell. However, currently bash-it
does not work as expected on them.
This can be fixed as described, tested, and confirmed here.
Here's what I suggest:
- In
install.sh
, check for$0STYPE
ofsolaris*
- If
$0STYPE
issolaris*
, then:- Backup
~/.profile
to~/.profile.bak
- Comment out all uncommented lines in
~/.profile
- Add the following lines to
~/.profile
:
- Backup
# if running bash
if [ -n "$BASH_VERSION" ]; then
# include .bashrc if it exists
if [ -f "$HOME/.bashrc" ]; then
. "$HOME/.bashrc"
fi
fi
# set PATH so it includes user's private bin directories
PATH="$HOME/bin:$HOME/.local/bin:$PATH"
- Continue the rest of the
install.sh
as usual.
equalunique, bytes-and-bits, sjorge, cneira, plluksie and 7 more
Metadata
Metadata
Assignees
Labels
feature requesthelp wantedseems abandonedrattle the cage, and close if nobody wants to keep it goingrattle the cage, and close if nobody wants to keep it going