{"id":51,"date":"2015-11-03T19:10:42","date_gmt":"2015-11-03T18:10:42","guid":{"rendered":"https:\/\/www.aleskrejci.cz\/blog\/?p=51"},"modified":"2015-11-03T19:10:42","modified_gmt":"2015-11-03T18:10:42","slug":"linux-vychozi-editor-v-terminalu","status":"publish","type":"post","link":"https:\/\/www.aleskrejci.cz\/blog\/2015\/11\/03\/linux-vychozi-editor-v-terminalu\/","title":{"rendered":"Linux &#8211; v\u00fdchoz\u00ed editor v termin\u00e1lu"},"content":{"rendered":"<p>Pokud nem\u00e1te r\u00e1di na linuxu defaultn\u00ed editor <strong>vi<\/strong> a cht\u011bli by jste pou\u017e\u00edvat t\u0159eba <strong>nano<\/strong>, sta\u010d\u00ed p\u0159ej\u00edt do rootu sv\u00e9ho profilu <em>\/home\/jmenouzivatele\/<\/em> a editovat soubor <em>.bashrc<\/em><br \/>\nTedy:<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\nnano ~\/.bashrc\n<\/pre>\n<p>zde pak t\u0159eba na konec souboru p\u0159id\u00e1me \u0159\u00e1dek:<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\nexport EDITOR=&quot;\/usr\/bin\/nano&quot;\n<\/pre>\n<p>Nyn\u00ed m\u00e1me nastaven\u00fd jako v\u00fdchoz\u00ed editor <strong>nano<\/strong> \ud83d\ude09<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Pokud nem\u00e1te r\u00e1di na linuxu defaultn\u00ed editor vi a cht\u011bli by jste pou\u017e\u00edvat t\u0159eba nano, sta\u010d\u00ed p\u0159ej\u00edt do rootu sv\u00e9ho profilu \/home\/jmenouzivatele\/ a editovat soubor .bashrc Tedy: nano ~\/.bashrc zde pak t\u0159eba na konec souboru p\u0159id\u00e1me \u0159\u00e1dek: export EDITOR=&quot;\/usr\/bin\/nano&quot; Nyn\u00ed m\u00e1me nastaven\u00fd jako v\u00fdchoz\u00ed editor nano \ud83d\ude09<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[10],"tags":[26,27,28],"class_list":["post-51","post","type-post","status-publish","format-standard","hentry","category-linux","tag-editor","tag-nano","tag-command-line"],"_links":{"self":[{"href":"https:\/\/www.aleskrejci.cz\/blog\/wp-json\/wp\/v2\/posts\/51","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.aleskrejci.cz\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.aleskrejci.cz\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.aleskrejci.cz\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.aleskrejci.cz\/blog\/wp-json\/wp\/v2\/comments?post=51"}],"version-history":[{"count":0,"href":"https:\/\/www.aleskrejci.cz\/blog\/wp-json\/wp\/v2\/posts\/51\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.aleskrejci.cz\/blog\/wp-json\/wp\/v2\/media?parent=51"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.aleskrejci.cz\/blog\/wp-json\/wp\/v2\/categories?post=51"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.aleskrejci.cz\/blog\/wp-json\/wp\/v2\/tags?post=51"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}