Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master
Fetching contributors…

Cannot retrieve contributors at this time

executable file 19 lines (14 sloc) 0.474 kB
#!/bin/sh
#
# Usage: tcsh-source FILE_TO_SOURCE
#
# Sources the given file inside TCSH and
# immediately runs FISH as a sub-shell.
#
# Written in 2010 by Suraj N. Kurapati <https://github.com/sunaku>
fish=$(which fish)
# prevent "word too long" error in tcsh
export PATH=/bin:/usr/bin
# prevent "undefined $LD_LIBRARY_PATH" error in tcsh
test -z "$LD_LIBRARY_PATH" && export LD_LIBRARY_PATH=""
exec tcsh -c "source $* && echo '** STARTING fish INSIDE tcsh **' && $fish"
Jump to Line
Something went wrong with that request. Please try again.