{"id":122135,"date":"2025-02-28T14:22:23","date_gmt":"2025-02-28T12:22:24","guid":{"rendered":"https:\/\/prohoster.info\/blog\/novosti-interneta\/fish-shell-4-0"},"modified":"2025-02-28T14:22:23","modified_gmt":"2025-02-28T12:22:24","slug":"fish-shell-4-0","status":"publish","type":"post","link":"https:\/\/prohoster.info\/ro\/blog\/news\/fish-shell-4-0","title":{"rendered":"Fish Shell 4.0","gt_translate_keys":[{"key":"rendered","format":"text"}]},"content":{"rendered":"<p><img decoding=\"async\" alt=\"Fish Shell 4.0\" src=\"\/wp-content\/uploads\/2025\/02\/388d2bb69957c75501b4b9c457a7fbf4.jpg\" style=\"display:block;margin: 0 auto;\" \/>                              <noindex>      <noindex><\/p>\n<p>Shell-ul de comand\u0103 <a rel=\"nofollow\" href=\"https:\/\/fishshell.com\">Fish Shell<\/a>, popular printre utilizatorii de terminale, a fost actualizat la versiunea 4.0, care aduce modific\u0103ri \u0219i \u00eembun\u0103t\u0103\u021biri semnificative.<\/p>\n<p><\/noindex><\/noindex> <\/p>\n<p>Principala noutate este c\u0103 Fish Shell a fost complet rescris \u00een limbajul de programare Rust. Cu toate acestea, pentru utilizatorii obi\u0219nui\u021bi, aceast\u0103 tranzi\u021bie va fi practic invizibil\u0103: comenzile, set\u0103rile \u0219i interac\u021biunile tipice vor r\u0103m\u00e2ne acelea\u0219i.<\/p>\n<h4>Alte modific\u0103ri semnificative<\/h4>\n<ul>\n<li><strong>Un nou sistem de legare a tastelor.<\/strong> Fish Shell 4.0 introduce un sistem actualizat de legare a tastelor \u0219i o compatibilitate mai profund\u0103 cu terminalele. Acum este posibil s\u0103 \u00eenlocuie\u0219ti secven\u021bele esc neintuitive cu comenzi mai u\u0219or de \u00een\u021beles, cum ar fi bind ctrl-right. Datorit\u0103 suportului pentru protocolul de tastatur\u0103 Kitty, Fish poate distinge secven\u021bele de control care anterior p\u0103reau identice, de exemplu bind ctrl-i, bind ctrl-I \u0219i bind tab.<\/li>\n<li><strong>Integrarea cu func\u021bionalit\u0103\u021bile terminalului.<\/strong> Fish utilizeaz\u0103 acum automat secven\u021bele OSC 133 pentru sugestii \u0219i ie\u0219iri de comenzi, ceea ce contribuie la o sincronizare mai fluid\u0103 cu diverse terminale care anterior depindeau de scripturi suplimentare pentru integrarea shell-ului.<\/li>\n<li><strong>\u00cembun\u0103t\u0103\u021birea gestion\u0103rii comenzilor lungi.<\/strong> Shell-ul acum gestioneaz\u0103 mai atent liniile lungi de comenzi, derul\u00e2ndu-le \u00een loc de a le afi\u0219a gre\u0219it. Orice modific\u0103ri aduse prin leg\u0103turile de comand\u0103 sunt vizibile imediat, ceea ce asigur\u0103 o experien\u021b\u0103 de utilizare mai intuitiv\u0103.<\/li>\n<li><strong>Istoricul comenzilor.<\/strong> Pagerul istoriei comenzilor, introdus pentru prima dat\u0103 \u00een Fish 3.6, a fost \u00eembun\u0103t\u0103\u021bit. Acum este posibil s\u0103 se utilizeze sintaxa glob pentru o filtrare mai precis\u0103 a \u00eenregistr\u0103rilor istorice, de exemplu, c\u0103utarea prin * glob syntax \u2014 git*HEAD va returna tot ce con\u021bine git \u0219i HEAD \u00een aceast\u0103 ordine.<\/li>\n<li><strong>O nou\u0103 tem\u0103 implicit\u0103.<\/strong> \u00cen noua versiune, tema implicit\u0103 a fost u\u0219or modificat\u0103: comenzile sunt acum afi\u0219ate \u00een culoarea \u201enormal\u0103\u201d a terminalului, \u00een loc de \u201ealbastru\u201d, care era greu de citit. Utilizatorii existen\u021bi \u00ee\u0219i vor p\u0103stra set\u0103rile actuale, cu condi\u021bia s\u0103 nu re\u00eenc\u0103rca\u021bi manual tema prin fish_config.<\/li>\n<li><strong>Construiri auto-instalabile.<\/strong>    Noua func\u021bie de construc\u021bie auto-instalabil\u0103 poate reprezenta o adev\u0103rat\u0103 inova\u021bie pentru utilizatorii care lucreaz\u0103 frecvent prin SSH. <a class=\"wpil_keyword_link\" href=\"https:\/\/prohoster.info\/ro\/server\/dts-gdansk\/\"   title=\"servere\" data-wpil-keyword-link=\"linked\"  data-wpil-monitor-id=\"4569\">servere<\/a> f\u0103r\u0103 privilegii administrative. Dup\u0103 compilarea Fish, se poate rula un singur fi\u0219ier binar auto-suficient care extrage tot ce este necesar - func\u021bii, pagini de ghid \u0219i chiar un instrument web de configurare - \u00een directorul personal.<\/li>\n<li><strong>Excluderea comenzilor din istoric.<\/strong> \u00cen sf\u00e2r\u0219it, a ap\u0103rut mult a\u0219teptata func\u021bie care permite excluderea unor comenzi specifice din istoric. Definind func\u021bia personalizat\u0103 fish_should_add_to_history, se poate decide exact ce comenzi vor fi p\u0103strate.<\/li>\n<li><strong>\u00cembun\u0103t\u0103\u021biri pentru scripting<\/strong>:\n<ul>\n<li>string match acum suport\u0103 op\u021biunea \u2014max-matches, care permite limitarea num\u0103rului de potriviri procesate;<\/li>\n<li>ciclurile for nu vor mai re\u021bine variabilele locale din itera\u021biile anterioare;<\/li>\n<li>set prime\u0219te op\u021biunea \u2014no-event pentru a suprima evenimentele de modificare a variabilelor;<\/li>\n<li>time \u00eencepe m\u0103surarea mai devreme, captur\u00e2nd durata oric\u0103ror substitu\u021bii de comenzi \u00eenainte de execu\u021bia lor;<\/li>\n<li>complete \u2014erase dezactiveaz\u0103 complet autocompletarea pentru comenzile specificate.<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p>Sursa: <a \ncontent=\"nofollow\" rel=\"nofollow\" href=\"https:\/\/www.linux.org.ru\/news\/opensource\/17898556\">linux.org.ru<\/a><\/p>","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"excerpt":{"rendered":"<p>\u041a\u043e\u043c\u0430\u043d\u0434\u043d\u0430\u044f \u043e\u0431\u043e\u043b\u043e\u0447\u043a\u0430 Fish Shell, \u043f\u043e\u043f\u0443\u043b\u044f\u0440\u043d\u0430\u044f \u0441\u0440\u0435\u0434\u0438 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u0439 \u0442\u0435\u0440\u043c\u0438\u043d\u0430\u043b\u043e\u0432, \u043e\u0431\u043d\u043e\u0432\u0438\u043b\u0430\u0441\u044c \u0434\u043e \u0432\u0435\u0440\u0441\u0438\u0438 4.0, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u043f\u0440\u0438\u043d\u0435\u0441\u043b\u0430 \u0437\u043d\u0430\u0447\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0435 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u0438 \u0443\u043b\u0443\u0447\u0448\u0435\u043d\u0438\u044f. \u041e\u0441\u043d\u043e\u0432\u043d\u043e\u0435 \u043d\u043e\u0432\u0448\u0435\u0441\u0442\u0432\u043e \u0437\u0430\u043a\u043b\u044e\u0447\u0430\u0435\u0442\u0441\u044f \u0432 \u0442\u043e\u043c, \u0447\u0442\u043e Fish Shell \u0442\u0435\u043f\u0435\u0440\u044c \u043f\u043e\u043b\u043d\u043e\u0441\u0442\u044c\u044e \u043f\u0435\u0440\u0435\u043f\u0438\u0441\u0430\u043d\u0430 \u043d\u0430 \u044f\u0437\u044b\u043a\u0435 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f Rust. \u041e\u0434\u043d\u0430\u043a\u043e \u0434\u043b\u044f \u043e\u0431\u044b\u0447\u043d\u044b\u0445 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u0439 \u044d\u0442\u043e\u0442 \u043f\u0435\u0440\u0435\u0445\u043e\u0434 \u0431\u0443\u0434\u0435\u0442 \u043f\u0440\u0430\u043a\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u043d\u0435\u0437\u0430\u043c\u0435\u0442\u0435\u043d: \u043a\u043e\u043c\u0430\u043d\u0434\u044b, \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u0438 \u0442\u0438\u043f\u0438\u0447\u043d\u044b\u0435 \u0432\u0437\u0430\u0438\u043c\u043e\u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044f \u043e\u0441\u0442\u0430\u043d\u0443\u0442\u0441\u044f \u043f\u0440\u0435\u0436\u043d\u0438\u043c\u0438. \u0414\u0440\u0443\u0433\u0438\u0435 \u0437\u043d\u0430\u0447\u0438\u043c\u044b\u0435 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u041d\u043e\u0432\u0430\u044f \u0441\u0438\u0441\u0442\u0435\u043c\u0430 [&hellip;]<\/p>\n","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"author":1,"featured_media":122136,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[702],"tags":[],"class_list":["post-122135","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-news"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.2.1 - aioseo.com -->\n\t<meta name=\"description\" content=\"\u041a\u043e\u043c\u0430\u043d\u0434\u043d\u0430\u044f \u043e\u0431\u043e\u043b\u043e\u0447\u043a\u0430\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Yuri Gagarin\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/prohoster.info\/ro\/blog\/news\/fish-shell-4-0\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.2.1\" \/>\n\t\t<meta property=\"og:locale\" content=\"ro_RO\" \/>\n\t\t<meta property=\"og:site_name\" content=\"ProHoster | \u041a\u0443\u043f\u0438\u0442\u044c \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0439 \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u043e\u0432 \u0441 \u0437\u0430\u0449\u0438\u0442\u043e\u0439 \u043e\u0442 DDoS, VPS VDS \u0441\u0435\u0440\u0432\u0435\u0440\u044b\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"\ud83e\udd47Fish Shell 4.0 | ProHoster\" \/>\n\t\t<meta property=\"og:description\" content=\"\u041a\u043e\u043c\u0430\u043d\u0434\u043d\u0430\u044f \u043e\u0431\u043e\u043b\u043e\u0447\u043a\u0430\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/prohoster.info\/ro\/blog\/news\/fish-shell-4-0\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg\" \/>\n\t\t<meta property=\"og:image:width\" content=\"350\" \/>\n\t\t<meta property=\"og:image:height\" content=\"350\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2025-02-28T12:22:24+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2025-02-28T12:22:24+00:00\" \/>\n\t\t<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/prohoster\" \/>\n\t\t<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/prohoster\" \/>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"\ud83e\udd47Fish Shell 4.0 | ProHoster","description":"Shell-ul de comand\u0103","canonical_url":"https:\/\/prohoster.info\/ro\/blog\/news\/fish-shell-4-0","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":null,"og:locale":"ro_RO","og:site_name":"ProHoster | \u041a\u0443\u043f\u0438\u0442\u044c \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0439 \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u043e\u0432 \u0441 \u0437\u0430\u0449\u0438\u0442\u043e\u0439 \u043e\u0442 DDoS, VPS VDS \u0441\u0435\u0440\u0432\u0435\u0440\u044b","og:type":"article","og:title":"\ud83e\udd47Fish Shell 4.0 | ProHoster","og:description":"\u041a\u043e\u043c\u0430\u043d\u0434\u043d\u0430\u044f \u043e\u0431\u043e\u043b\u043e\u0447\u043a\u0430","og:url":"https:\/\/prohoster.info\/ro\/blog\/news\/fish-shell-4-0","og:image":"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg","og:image:secure_url":"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg","og:image:width":350,"og:image:height":350,"article:published_time":"2025-02-28T12:22:24+00:00","article:modified_time":"2025-02-28T12:22:24+00:00","article:publisher":"https:\/\/www.facebook.com\/prohoster","article:author":"https:\/\/www.facebook.com\/prohoster"},"aioseo_meta_data":{"post_id":"122135","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"schema_type":"default","schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"seo_analyzer_scan_date":"2026-01-23 10:59:20","breadcrumb_settings":null,"limit_modified_date":false,"reviewed_by":null,"ai":null,"created":"2026-01-23 10:59:20","updated":"2026-01-23 10:59:20","focus_keyword":null,"additional_keywords":null,"truseo_locale":null},"gt_translate_keys":[{"key":"link","format":"url"}],"_links":{"self":[{"href":"https:\/\/prohoster.info\/ro\/wp-json\/wp\/v2\/posts\/122135","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/prohoster.info\/ro\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/prohoster.info\/ro\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/prohoster.info\/ro\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/prohoster.info\/ro\/wp-json\/wp\/v2\/comments?post=122135"}],"version-history":[{"count":1,"href":"https:\/\/prohoster.info\/ro\/wp-json\/wp\/v2\/posts\/122135\/revisions"}],"predecessor-version":[{"id":164447,"href":"https:\/\/prohoster.info\/ro\/wp-json\/wp\/v2\/posts\/122135\/revisions\/164447"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/prohoster.info\/ro\/wp-json\/wp\/v2\/media\/122136"}],"wp:attachment":[{"href":"https:\/\/prohoster.info\/ro\/wp-json\/wp\/v2\/media?parent=122135"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/prohoster.info\/ro\/wp-json\/wp\/v2\/categories?post=122135"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/prohoster.info\/ro\/wp-json\/wp\/v2\/tags?post=122135"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}