Skip to content

Instantly share code, notes, and snippets.

@publicarray
Last active January 2, 2018 23:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save publicarray/318d088adecdf944977f392663d21f09 to your computer and use it in GitHub Desktop.
Save publicarray/318d088adecdf944977f392663d21f09 to your computer and use it in GitHub Desktop.
Install fishshell on OpenBSD
#!/bin/sh
pkg_add curl gcc g++ gmake
curl -Lo /tmp/fish.tar.gz https://github.com/fish-shell/fish-shell/releases/download/2.7.1/fish-2.7.1.tar.gz
tar -xzvf /tmp/fish.tar.gz -C /tmp/
cd /tmp/fish-*
CC=egcc CXX=eg++ ./configure
gmake install
echo '/usr/local/bin/fish' | sudo tee -a /etc/shells > /dev/null
#chsh -s /usr/local/bin/fish
@publicarray
Copy link
Author

Execute with

curl -L https://gist.github.com/publicarray/318d088adecdf944977f392663d21f09/raw/a8dd80095754ab449b370d814cdc25e90e642487/getfish.sh | sh

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment