The Fortran Shell
A modern, POSIX-compliant shell with fish-like features. Written in Fortran 2018, because why not.
$
curl -fsSL https://fortsh.musicsian.com/install.sh | bashLoading...
Single maintainer project · MIT License
Features
POSIX Compliant
3,776 tests passing. Full POSIX shell compatibility.
Fish-like Features
Autosuggestions, syntax highlighting, and smart completions.
60+ Builtins
Comprehensive builtin commands including bash extensions.
99% Bash Compatible
Arrays, associative arrays, advanced parameter expansion.
Real-time Highlighting
Commands validated and colored as you type.
Tab Completion
Fuzzy matching, programmable completions via complete.
Job Control
Full background job management with fg, bg, jobs.
Process Substitution
Advanced <(cmd) and >(cmd) patterns supported.
Quick Start
Try it out
# Start fortsh
fortsh
# Run a script
fortsh script.sh
# One-liner
fortsh -c 'echo hello'Configure
# ~/.fortshrc
alias ll='ls -la'
export PATH="$HOME/bin:$PATH"
# Custom prompt
PS1='\u@\h:\w$ '