- Fish, macOS, Linux और अन्य Unix-आधारित operating systems के लिए एक user-friendly command-line shell है
- 4.0.0 से Fish का core code C++ से Rust में port किया गया है
- इससे dependencies और build process में बड़े बदलाव आते हैं, लेकिन users पर इसका सीधा असर नहीं है
- असंगत बदलाव:
bind command के लिए नया key notation पेश किया गया है
ctrl-c अब clear-commandline को call करता है, और पुराना behavior cancel-commandline के रूप में उपलब्ध है
random function के seed value के अनुसार result पहले के version से अलग आ सकते हैं
- command position में मौजूद variables अब subcommand keywords में expand नहीं हो सकते
functions --handlers अब handlers को defined order में list करता है
qmark-noglob feature अब default रूप से enabled है
सुधार और fixes
- Keyboard protocol: XTerm के
modifyOtherKeys और kitty के keyboard protocol का support
- Self-installing binary: fish को self-installable binary के रूप में build किया जा सकता है
- Command history:
fish_should_add_to_history function के जरिए तय किया जा सकता है कि कौन-सा command history में जोड़ा जाए
- Undo feature: command execute होने के बाद भी history बनी रहती है
- Abbreviation restriction: abbreviations को केवल specific commands तक expand किया जा सकता है
Deprecated और हटाए गए features
commandline --tokenize को commandline --tokens-expanded से replace किया गया है
bind -k syntax के जरिए key name देना deprecated है
- paste mode हटा दिया गया है
Scripting improvements
- नई history command:
history append से command execute किए बिना उसे history में जोड़ा जा सकता है
- नई redirection:
1 टिप्पणियां
Hacker News राय
clear-commandlineएक दिलचस्प फीचर हैcancel-commandlineसेटिंग को देखूँगा