App-ShellUtils
view release on metacpan or search on metacpan
bin/guess-shell view on Meta::CPAN
#!perl
use Shell::Guess;
my $shell = Shell::Guess->running_shell;
print $shell->name, "\n";
# ABSTRACT: Detect what shell we are running under
# PODNAME: guess-shell
__END__
=pod
=encoding UTF-8
=head1 NAME
guess-shell - Detect what shell we are running under
=head1 VERSION
This document describes version 0.001 of guess-shell (from Perl distribution App-ShellUtils), released on 2016-10-21.
=head1 SYNOPSIS
% guess-shell
bash
=head1 HOMEPAGE
Please visit the project's homepage at L<https://metacpan.org/release/App-ShellUtils>.
=head1 SOURCE
Source repository is at L<https://github.com/perlancar/perl-App-ShellUtils>.
=head1 BUGS
Please report any bugs or feature requests on the bugtracker website L<https://rt.cpan.org/Public/Dist/Display.html?Name=App-ShellUtils>
When submitting a bug or request, please include a test-file or a
patch to an existing test-file that illustrates the bug or desired
feature.
=head1 SEE ALSO
See L<Shell::Guess> for more details on supported shells and limitations.
=head1 AUTHOR
perlancar <perlancar@cpan.org>
=head1 COPYRIGHT AND LICENSE
This software is copyright (c) 2016 by perlancar@cpan.org.
This is free software; you can redistribute it and/or modify it under
the same terms as the Perl 5 programming language system itself.
=cut
( run in 0.819 second using v1.01-cache-2.11-cpan-e1769b4cff6 )