Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
executable file 15 lines (12 sloc) 286 Bytes
#!/bin/bash
#
# Usage: bash-source FILE_TO_SOURCE
#
# Sources the given file inside BASH and
# immediately runs FISH as a sub-shell.
#
# Written in 2010 by Suraj N. Kurapati <https://github.com/sunaku>
fish=$(which fish)
source "$@" &&
echo '** STARTING fish INSIDE bash **' &&
$fish