Fish 4.0.0 रिलीज़
(github.com/fish-shell)- Fish, macOS, Linux और अन्य Unix-आधारित operating systems के लिए एक user-friendly command-line shell है
- 4.0.0 से Fish का core code C++ से Rust में port किया गया है
- इससे dependencies और build process में बड़े बदलाव आते हैं, लेकिन users पर इसका सीधा असर नहीं है
- असंगत बदलाव:
bindcommand के लिए नया key notation पेश किया गया हैctrl-cअबclear-commandlineको call करता है, और पुराना behaviorcancel-commandlineके रूप में उपलब्ध हैrandomfunction के seed value के अनुसार result पहले के version से अलग आ सकते हैं- command position में मौजूद variables अब subcommand keywords में expand नहीं हो सकते
functions --handlersअब handlers को defined order में list करता हैqmark-noglobfeature अब 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_historyfunction के जरिए तय किया जा सकता है कि कौन-सा command history में जोड़ा जाए - Undo feature: command execute होने के बाद भी history बनी रहती है
- Abbreviation restriction: abbreviations को केवल specific commands तक expand किया जा सकता है
Deprecated और हटाए गए features
commandline --tokenizeकोcommandline --tokens-expandedसे replace किया गया हैbind -ksyntax के जरिए key name देना deprecated है- paste mode हटा दिया गया है
Scripting improvements
- नई history command:
history appendसे command execute किए बिना उसे history में जोड़ा जा सकता है - नई redirection:
1 टिप्पणियां
Hacker News राय
clear-commandlineएक दिलचस्प फीचर हैcancel-commandlineसेटिंग को देखूँगा