sub build_fish_env_declaration {
my ($class, $name, $args) = @_;
- my $value = $class->_interpolate($args, '"%s"', '"', '\\%s');
+ my $value = $class->_interpolate($args, '$%s', '"', '\\%s');
if (!defined $value) {
return qq{set -e $name;\n};
}
for ($shellbin) {
return
/csh$/ ? 'csh'
+ : /fish/ ? 'fish'
: /command(?:\.com)?$/i ? 'cmd'
: /cmd(?:\.exe)?$/i ? 'cmd'
: /4nt(?:\.exe)?$/i ? 'cmd'