Fish 4.2 adds multi-line autosuggestions, default UTF-8, and tab title control

Fish 4.2 adds multi-line autosuggestions, default UTF-8, and tab title control

The fish shell alternative has released version 4.2, introducing multi-line support for history-based autosuggestions that let users recall and accept full multi-line commands from their history. Suggestions can be confirmed with the right arrow key or Ctrl+F, while Alt+Right Arrow accepts only the first word.

UTF-8 is now the default encoding, improving compatibility even when the system locale is not set to UTF-8. Legacy file paths still work but may appear differently. A new fish_tab_title function allows users to set tab titles separately from the main window, and standalone build mode is now default, embedding helper functions directly to avoid shell breakage after updates. The shell now requires Rust 1.85 or newer, continuing the modernization that began with version 4.0.

Mouse capture has been re-enabled, allowing cursor movement and completion selection in supported terminals. The update also fixes several issues, including crashes from invalid function commands, negative PID handling on Linux, redraw glitches on VTE terminals, MSYS2 variable saving problems, and Python 3.9 compatibility in the web-based configuration tool.

by Mauricio B. Holguin

ddnnK0RR
na
ddnn found this interesting
fish iconfish
  113
  • Shell
  • FreeOpen Source
  • ...

fish is a user-friendly command line shell designed for UNIX-like operating systems such as Linux. As a terminal emulator, fish is known for its emphasis on user experience, featuring sane defaults, intuitive autocompletion, and color coding to enhance readability. Rated 4, fish is often compared to alternatives like Zsh, Bash, and PowerShell for its unique approach to shell interaction.

No comments so far, maybe you want to be first?
Gu