[Fish-users] environment setup
Status: Beta
Brought to you by:
liljencrantz
|
From: Kayle S. <ks...@gm...> - 2013-08-21 13:50:45
|
Hi, I use FreeSurfer brain MRI analysis software, which is mostly command-line based. To use the software, a script must be 'sourced' which sets environment variables, paths, and support libraries. The software comes with csh and sh versions, which obviously can't be sourced with fish. Running 'bash script.sh' won't work either, because after the variables are set up in bash I return to the fish shell with no setup. Do I need to port the script to fish, or is there an easier way? If I do have to re-write the script, I'm guessing I should start from the csh script - are there any tools which convert the syntax? Thanks, -Kayle PS FreeSurfer Instructions: http://ftp.nmr.mgh.harvard.edu/fswiki/SetupConfiguration |