.fish Fish shell script
Text & source code
| MIME type | application/x-fishscript |
|---|---|
| Description | Fish shell script |
| Category | Text & source code |
| Based on | application/x-executable, text/plain |
Frequently asked questions
What is a .fish file?
A .fish file is a “Fish shell script” (MIME type application/x-fishscript).
How do I open a .fish file?
With any text editor – Notepad++, Visual Studio Code, or gedit and vim on Linux. The file contains readable text, possibly source code or configuration.
How can you tell a genuine .fish file?
No fixed signature at the start of the file is registered for this format; it is recognised mainly by its extension. On Linux and macOS, file --mime-type example.fish shows the guessed type.
Which format is .fish based on?
Technically a .fish file is a subtype of “Executable” (application/x-executable), so programs for that base format can often read it too.
Which MIME type belongs to .fish?
The MIME type is application/x-fishscript. In the Apache web server: AddType application/x-fishscript .fish; in nginx: types { application/x-fishscript fish; }.