{"id":308796,"date":"2020-08-20T21:00:12","date_gmt":"2020-08-20T21:00:12","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=308796"},"modified":"-0001-11-30T00:00:00","modified_gmt":"2020-08-20T21:00:12","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=308796","title":{"rendered":"\u0414\u0435\u043b\u0430\u0435\u043c Linux \u0442\u0435\u0440\u043c\u0438\u043d\u0430\u043b \u043a\u0440\u0430\u0441\u0438\u0432\u044b\u043c \u0438 \u0443\u0434\u043e\u0431\u043d\u044b\u043c"},"content":{"rendered":"\n<div class=\"post__text post__text-html post__text_v1\" id=\"post-content-body\" data-io-article-url=\"https:\/\/habr.com\/ru\/post\/516004\/\">\u0412\u0441\u0435 \u0434\u0438\u0441\u0442\u0440\u0438\u0431\u0443\u0442\u0438\u0432\u044b Linux \u043f\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u044e\u0442\u0441\u044f \u0441 \u0444\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b\u044c\u043d\u044b\u043c \u0438 \u043a\u0430\u0441\u0442\u043e\u043c\u0438\u0437\u0438\u0440\u0443\u0435\u043c\u044b\u043c \u044d\u043c\u0443\u043b\u044f\u0442\u043e\u0440\u043e\u043c \u0442\u0435\u0440\u043c\u0438\u043d\u0430\u043b\u0430. \u0412 \u0438\u043d\u0442\u0435\u0440\u043d\u0435\u0442\u0435, \u0430 \u043f\u043e\u0440\u043e\u0439 \u0434\u0430\u0436\u0435 \u0432 \u0441\u0430\u043c\u043e\u043c \u0442\u0435\u0440\u043c\u0438\u043d\u0430\u043b\u0435, \u0435\u0441\u0442\u044c \u043c\u0430\u0441\u0441\u0430 \u0433\u043e\u0442\u043e\u0432\u044b\u0445 \u0442\u0435\u043c, \u0447\u0442\u043e\u0431 \u043e\u043d \u043a\u0440\u0430\u0441\u0438\u0432\u043e \u0432\u044b\u0433\u043b\u044f\u0434\u0435\u043b. \u041e\u0434\u043d\u0430\u043a\u043e, \u0447\u0442\u043e\u0431 \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0438\u0437 \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u043e\u0433\u043e \u0442\u0435\u0440\u043c\u0438\u043d\u0430\u043b\u0430 (\u0432 \u043b\u044e\u0431\u043e\u043c DE, \u043b\u044e\u0431\u043e\u0433\u043e \u0434\u0438\u0441\u0442\u0440\u0438\u0431\u0443\u0442\u0438\u0432\u0430) \u043d\u0435\u0447\u0442\u043e \u043a\u0440\u0430\u0441\u0438\u0432\u043e\u0435 \u0438 \u043e\u0434\u043d\u043e\u0432\u0440\u0435\u043c\u0435\u043d\u043d\u043e \u0443\u0434\u043e\u0431\u043d\u043e\u0435 \u0438 \u043f\u0440\u043e\u0441\u0442\u043e\u0435 \u0432 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0438 \u044f \u043f\u043e\u0442\u0440\u0430\u0442\u0438\u043b \u043c\u043d\u043e\u0433\u043e \u0432\u0440\u0435\u043c\u0435\u043d\u0438. \u0418\u0442\u0430\u043a, \u043a\u0430\u043a \u0436\u0435 \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0434\u0435\u0444\u043e\u043b\u0442\u043d\u044b\u0439 \u0442\u0435\u0440\u043c\u0438\u043d\u0430\u043b \u0443\u0434\u043e\u0431\u043d\u044b\u043c \u0438 \u043f\u0440\u0438\u044f\u0442\u043d\u044b\u043c \u0432 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0438?<br \/>  <a name=\"habracut\"><\/a>  <\/p>\n<h2>\u0414\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u043c \u0444\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b\u044c\u043d\u043e\u0441\u0442\u044c<\/h2>\n<p>  <\/p>\n<h3>\u041a\u043e\u043c\u0430\u043d\u0434\u043d\u0430\u044f \u043e\u0431\u043e\u043b\u043e\u0447\u043a\u0430<\/h3>\n<p>  \u0411\u043e\u043b\u044c\u0448\u0438\u043d\u0441\u0442\u0432\u043e \u0434\u0438\u0441\u0442\u0440\u0438\u0431\u0443\u0442\u0438\u0432\u043e\u0432 \u043f\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0441\u043e \u0432\u0441\u0442\u0440\u043e\u0435\u043d\u043d\u044b\u043c Bash. \u0418\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044f \u0434\u043e\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f \u043c\u043e\u0436\u043d\u043e \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0438\u0437 \u043d\u0435\u0433\u043e \u0432\u0441\u0435 \u0447\u0442\u043e \u0437\u0430\u0445\u043e\u0442\u0438\u0442\u0435, \u043d\u043e \u0433\u043e\u0440\u0430\u0437\u0434\u043e \u043f\u0440\u043e\u0449\u0435 \u044d\u0442\u043e\u0433\u043e \u0434\u043e\u0431\u0438\u0442\u044c\u0441\u044f \u0441 <a href=\"http:\/\/zshwiki.org\/home\/\" rel=\"nofollow\">Zsh<\/a>. \u041f\u043e\u0447\u0435\u043c\u0443?<\/p>\n<ul>\n<li>\u041f\u0440\u043e\u0434\u0432\u0438\u043d\u0443\u0442\u0430\u044f \u043c\u0435\u0445\u0430\u043d\u0438\u043a\u0430 \u0430\u0432\u0442\u043e\u0434\u043e\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f \u043a\u043e\u043c\u0430\u043d\u0434 \u043f\u043e \u043d\u0430\u0436\u0430\u0442\u0438\u044e &lt;Tab&gt; \u0438\u043b\u0438 &lt;Arrow Up&gt;. \u0412 \u043e\u0442\u043b\u0438\u0447\u0438\u0435 \u043e\u0442 Bash, \u0432\u0430\u043c \u043d\u0435 \u043d\u0443\u0436\u043d\u043e \u044d\u0442\u043e \u043d\u0430\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0442\u044c, \u0432\u0441\u0435 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u043d\u0430 \u0432\u044b\u0441\u0448\u0435\u043c \u0443\u0440\u043e\u0432\u043d\u0435 \u043f\u0440\u044f\u043c\u043e \u00ab\u0438\u0437 \u043a\u043e\u0440\u043e\u0431\u043a\u0438\u00bb.<\/li>\n<li>\u041c\u043d\u043e\u0436\u0435\u0441\u0442\u0432\u043e \u0433\u043e\u0442\u043e\u0432\u044b\u0445 \u0442\u0435\u043c, \u043c\u043e\u0434\u0443\u043b\u0435\u0439, \u043f\u043b\u0430\u0433\u0438\u043d\u043e\u0432 \u0438 \u043f\u0440\u043e\u0447\u0435\u0433\u043e. \u041d\u0430\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0435\u043c\u043e\u0441\u0442\u044c \u0447\u0435\u0440\u0435\u0437 \u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a\u0438 (oh-my-zsh, prezto \u0438 \u0434\u0440.), \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0437\u043d\u0430\u0447\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u0440\u0430\u0441\u0448\u0438\u0440\u044f\u044e\u0442 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0438 \u043a\u0430\u0441\u0442\u043e\u043c\u0438\u0437\u0430\u0446\u0438\u0438 \u0438 \u0443\u043b\u0443\u0447\u0448\u0435\u043d\u0438\u044f \u0442\u0435\u0440\u043c\u0438\u043d\u0430\u043b\u0430. \u041e\u043f\u044f\u0442\u044c \u0436\u0435, \u0432\u0441\u0435\u0433\u043e \u044d\u0442\u043e\u0433\u043e \u043c\u043e\u0436\u043d\u043e \u0434\u043e\u0431\u0438\u0442\u044c\u0441\u044f \u0438 \u0432 Bash, \u043d\u043e \u0434\u043b\u044f Zsh \u043c\u0430\u0441\u0441\u0430 \u0443\u0436\u0435 \u0433\u043e\u0442\u043e\u0432\u044b\u0445 \u043c\u0430\u0442\u0435\u0440\u0438\u0430\u043b\u043e\u0432. \u0414\u043b\u044f Bash \u0438\u0445 \u0437\u043d\u0430\u0447\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u043c\u0435\u043d\u044c\u0448\u0435, \u0430 \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u0432\u043e\u0432\u0441\u0435 \u043d\u0435\u0442.<\/li>\n<\/ul>\n<p>  \u042d\u0442\u043e \u043e\u0441\u043d\u043e\u0432\u043d\u044b\u0435 \u043f\u0440\u0438\u0447\u0438\u043d\u044b, \u043f\u043e \u043a\u043e\u0442\u043e\u0440\u044b\u043c \u044f \u043f\u0435\u0440\u0435\u0448\u0435\u043b \u0441 Bash \u043d\u0430 Zsh. \u041f\u043e\u043c\u0438\u043c\u043e \u044d\u0442\u043e\u0433\u043e, Zsh \u0438\u043c\u0435\u0435\u0442 \u043c\u043d\u043e\u0433\u043e \u0434\u0440\u0443\u0433\u0438\u0445 \u00ab\u043f\u043b\u044e\u0448\u0435\u043a\u00bb.<\/p>\n<h3>\u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 Zsh<\/h3>\n<p>  \u0414\u043b\u044f \u043d\u0430\u0447\u0430\u043b\u0430, \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u043c Zsh (\u0435\u0441\u043b\u0438 \u043e\u043d \u0443\u0436\u0435 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u043a\u0430\u043a \u0432 Manjaro, \u043c\u043e\u0436\u0435\u0442\u0435 \u043f\u0440\u043e\u043f\u0443\u0441\u0442\u0438\u0442\u044c \u044d\u0442\u043e\u0442 \u043f\u0443\u043d\u043a\u0442):<\/p>\n<pre><code class=\"bash\">sudo apt install zsh<\/code><\/pre>\n<p>  \u041a\u043e\u0433\u0434\u0430 \u0432\u0430\u043c \u043f\u0440\u0435\u0434\u043b\u043e\u0436\u0430\u0442 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c Zsh \u043a\u0430\u043a \u043e\u0431\u043e\u043b\u043e\u0447\u043a\u0430 \u043f\u043e-\u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e, \u043d\u0430\u0436\u043c\u0438\u0442\u0435 <code>Y<\/code>, \u0447\u0442\u043e\u0431 \u043f\u043e\u0434\u0442\u0432\u0435\u0440\u0434\u0438\u0442\u044c.<\/p>\n<p>  <a href=\"https:\/\/ohmyz.sh\/\" rel=\"nofollow\">Oh-My-Zsh<\/a> \u2014 \u043f\u043e\u043f\u0443\u043b\u044f\u0440\u043d\u044b\u0439 \u0438 \u0430\u043a\u0442\u0438\u0432\u043d\u043e \u0440\u0430\u0437\u0432\u0438\u0432\u0430\u044e\u0449\u0438\u0439\u0441\u044f \u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a Zsh, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u0433\u0438\u0431\u043a\u043e \u043d\u0430\u0441\u0442\u0440\u043e\u0438\u0442\u044c \u043e\u0431\u043e\u043b\u043e\u0447\u043a\u0443 \u0442\u0435\u0440\u043c\u0438\u043d\u0430\u043b\u0430. \u0423\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u043c \u0435\u0433\u043e:<\/p>\n<pre><code class=\"bash\">sh -c &quot;$(curl -fsSL https:\/\/raw.github.com\/ohmyzsh\/ohmyzsh\/master\/tools\/install.sh)&quot;<\/code><\/pre>\n<p>  <\/p>\n<div class=\"spoiler\" role=\"button\" tabindex=\"0\">                         <b class=\"spoiler_title\">zsh: command not found: curl<\/b>                         <\/p>\n<div class=\"spoiler_text\">\u0423\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u0435 <code>curl<\/code>:  <\/p>\n<pre><code class=\"bash\">sudo apt install curl<\/code><\/pre>\n<p>  <\/div>\n<\/p><\/div>\n<p>  \u041f\u043e\u0434\u0441\u0432\u0435\u0442\u043a\u0430 \u0441\u0438\u043d\u0442\u0430\u043a\u0441\u0438\u0441\u0430. \u0413\u043e\u0440\u0430\u0437\u0434\u043e \u043f\u0440\u043e\u0449\u0435 \u043e\u0440\u0438\u0435\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c\u0441\u044f \u043f\u043e \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u043c\u043e\u043c\u0443 \u0442\u0435\u0440\u043c\u0438\u043d\u0430\u043b\u0430, \u043a\u043e\u0433\u0434\u0430 \u0440\u0430\u0437\u043d\u044b\u0435 \u0447\u0430\u0441\u0442\u0438 \u043a\u043e\u043c\u0430\u043d\u0434 \u043f\u043e\u0434\u0441\u0432\u0435\u0447\u0435\u043d\u044b \u0440\u0430\u0437\u043d\u044b\u043c\u0438 \u0446\u0432\u0435\u0442\u0430\u043c\u0438. \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u0438 \u0431\u0443\u0434\u0443\u0442 \u043f\u043e\u0434\u0447\u0435\u0440\u043a\u0438\u0432\u0430\u0442\u044c\u0441\u044f, \u0430 \u043a\u043e\u043c\u0430\u043d\u0434\u044b \u2014 \u0432\u044b\u0434\u0435\u043b\u044f\u0442\u044c\u0441\u044f \u0446\u0432\u0435\u0442\u043e\u043c, \u043e\u0442\u043b\u0438\u0447\u043d\u044b\u043c \u043e\u0442 \u043e\u0431\u044b\u0447\u043d\u043e\u0433\u043e \u0442\u0435\u043a\u0441\u0442\u0430. \u0423\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u043c \u043f\u043b\u0430\u0433\u0438\u043d <code>zsh-syntax-highlighting<\/code>:<\/p>\n<pre><code class=\"bash\">git clone https:\/\/github.com\/zsh-users\/zsh-syntax-highlighting.git $ZSH_CUSTOM\/plugins\/zsh-syntax-highlighting<\/code><\/pre>\n<p>  <\/p>\n<div class=\"spoiler\" role=\"button\" tabindex=\"0\">                         <b class=\"spoiler_title\">zsh: command not found: git<\/b>                         <\/p>\n<div class=\"spoiler_text\">\u0423\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u0435 git:<\/p>\n<pre><code class=\"bash\">sudo apt install git<\/code><\/pre>\n<p>  <\/div>\n<\/p><\/div>\n<p>  \u0427\u0442\u043e\u0431 \u043f\u043b\u0430\u0433\u0438\u043d \u0437\u0430\u0440\u0430\u0431\u043e\u0442\u0430\u043b, \u0435\u0433\u043e \u043d\u0430\u0434\u043e \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0438\u0442\u044c.<\/p>\n<p>  \u0412 \u0444\u0430\u0439\u043b\u0435 <code>~\/.zshrc<\/code> \u043c\u0435\u043d\u044f\u0435\u043c \u0441\u0442\u0440\u043e\u043a\u0443 \u0441 <code>plugins=<\/code>:<\/p>\n<pre><code class=\"bash\">plugins=(git zsh-syntax-highlighting)<\/code><\/pre>\n<p>  \u0415\u0441\u043b\u0438 \u0442\u0430\u043a\u043e\u0439 \u0441\u0442\u0440\u043e\u043a\u0438 \u043d\u0435\u0442 \u2014 \u0434\u043e\u0431\u0430\u0432\u044c\u0442\u0435 \u0435\u0451.<\/p>\n<p>  \u0413\u043e\u0442\u043e\u0432\u043e! \u041f\u043e\u043b\u0443\u0447\u0430\u0435\u043c \u0443\u0434\u043e\u0431\u043d\u044b\u0439 \u0438 \u0444\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b\u044c\u043d\u044b\u0439 \u0442\u0435\u0440\u043c\u0438\u043d\u0430\u043b. \u0422\u0435\u043f\u0435\u0440\u044c \u0441\u0434\u0435\u043b\u0430\u0435\u043c \u0435\u0433\u043e \u0432\u0438\u0437\u0443\u0430\u043b\u044c\u043d\u043e \u043f\u0440\u0438\u044f\u0442\u043d\u044b\u043c.<\/p>\n<h2>\u041d\u0430\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0435\u043c \u0432\u043d\u0435\u0448\u043d\u0438\u0439 \u0432\u0438\u0434<\/h2>\n<p>  \u0423\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u043c \u0442\u0435\u043c\u0443 <a href=\"https:\/\/github.com\/romkatv\/powerlevel10k\" rel=\"nofollow\">PowerLevel10K<\/a>:<\/p>\n<pre><code class=\"bash\">git clone https:\/\/github.com\/romkatv\/powerlevel10k.git $ZSH_CUSTOM\/themes\/powerlevel10k<\/code><\/pre>\n<p>  \u0421\u043a\u0430\u0447\u0438\u0432\u0430\u0435\u043c \u0438 \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u043c \u0432 \u0441\u0438\u0441\u0442\u0435\u043c\u0443 \u0448\u0440\u0438\u0444\u0442 <code>JetBrains Mono Nerd<\/code> (c \u0438\u043a\u043e\u043d\u043a\u0430\u043c\u0438):<br \/>  \u0412\u044b\u0431\u0435\u0440\u0438\u0442\u0435\u043e\u0434\u0438\u043d \u0438\u0437<a href=\"https:\/\/github.com\/ryanoasis\/nerd-fonts\/tree\/master\/patched-fonts\/JetBrainsMono\" rel=\"nofollow\"> \u0441\u043f\u0438\u0441\u043a\u0430<\/a>, \u0432 \u043f\u0430\u043f\u043a\u0435 <code>\u0448\u0440\u0438\u0444\u0442\/complete<\/code> \u0432\u044b\u0431\u0435\u0440\u0438\u0442\u0435 \u0448\u0440\u0438\u0444\u0442 <b>\u0431\u0435\u0437<\/b> \u00abWindows Compatible\u00bb, \u0441 \u043e\u043a\u043e\u043d\u0447\u0430\u043d\u0438\u0435\u043c \u00abMono\u00bb.<\/p>\n<p>  \u041f\u043e\u0434\u043a\u043b\u044e\u0447\u0430\u0435\u043c \u0448\u0440\u0438\u0444\u0442 \u0438 \u0442\u0435\u043c\u0443.<\/p>\n<p>  \u0420\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u0443\u0435\u043c <code>~\/.zshrc<\/code>.<\/p>\n<p>  \u0415\u0441\u043b\u0438 \u0432 \u0444\u0430\u0439\u043b\u0435 \u044d\u0442\u0438 \u0441\u0442\u0440\u043e\u043a\u0438 \u0443\u0436\u0435 \u0435\u0441\u0442\u044c \u2014 \u0437\u0430\u043c\u0435\u043d\u0438\u0442\u0435 \u0438\u0445.<\/p>\n<ul>\n<li>\n<pre><code class=\"bash\">ZSH_THEME=&quot;powerlevel10k\/powerlevel10k&quot;<\/code><\/pre>\n<\/li>\n<li>\n<pre><code class=\"bash\">POWERLEVEL9K_MODE=&quot;nerdfont-complete&quot;<\/code><\/pre>\n<\/li>\n<\/ul>\n<p>  \u0426\u0432\u0435\u0442\u0430. \u0412\u0430\u0436\u043d\u0430\u044f \u0447\u0430\u0441\u0442\u044c \u043e\u0444\u043e\u0440\u043c\u043b\u0435\u043d\u0438\u044f \u0442\u0435\u0440\u043c\u0438\u043d\u0430\u043b\u0430 \u2014 \u0446\u0432\u0435\u0442\u043e\u0432\u0430\u044f \u0441\u0445\u0435\u043c\u0430. \u042f \u043f\u0435\u0440\u0435\u0431\u0440\u0430\u043b \u043c\u043d\u043e\u0433\u043e \u0440\u0430\u0437\u043d\u044b\u0445 \u0441\u0445\u0435\u043c, \u0440\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u043b \u0438\u0445, \u043e\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u043b\u0441\u044f \u043d\u0430 Monokai Dark. \u041d\u0435 \u0440\u0435\u0436\u0435\u0442 \u0433\u043b\u0430\u0437\u0430, \u043d\u043e \u043f\u0440\u0438 \u044d\u0442\u043e\u043c \u043f\u0440\u0438\u044f\u0442\u043d\u0430\u044f \u0438 \u044f\u0440\u043a\u0430\u044f. \u0421\u043f\u0438\u0441\u043e\u043a \u0446\u0432\u0435\u0442\u043e\u0432:<\/p>\n<pre><code class=\"plaintext\">[colors]  # special foreground      = #e6e6e6 foreground_bold = #e6e6e6 cursor          = #fff background      = #000  # black color0  = #75715e color8  = #272822  # red color1  = #f92672 color9  = #f92672  # green color2  = #a6e22e color10 = #a6e22e  # yellow color3  = #434648 color11 = #7ea35f  # blue color4  = #66d9ef color12 = #66d9ef  # magenta color5  = #ae81ff color13 = #ae81ff  # cyan color6  = #adb3b9 color14 = #62ab9d  # white color7  = #2AA198 color15 = #2AA198 <\/code><\/pre>\n<p>  \u0412 \u0440\u0430\u0437\u043d\u044b\u0445 \u0442\u0435\u0440\u043c\u0438\u043d\u0430\u043b\u0430\u0445 \u043f\u043e-\u0440\u0430\u0437\u043d\u043e\u043c\u0443 \u043c\u0435\u043d\u044f\u0435\u0442\u0441\u044f \u0446\u0432\u0435\u0442\u043e\u0432\u0430\u044f \u0441\u0445\u0435\u043c\u0430 (\u043e\u0431\u044b\u0447\u043d\u043e, \u044d\u0442\u043e \u0434\u0435\u043b\u0430\u0435\u0442\u0441\u044f \u0447\u0435\u0440\u0435\u0437 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u0442\u0435\u0440\u043c\u0438\u043d\u0430\u043b\u0430), \u043d\u043e \u043f\u043e\u0440\u044f\u0434\u043e\u043a \u0446\u0432\u0435\u0442\u043e\u0432 \u0432\u0435\u0437\u0434\u0435 \u043e\u0434\u0438\u043d\u0430\u043a\u043e\u0432\u044b\u0439. \u0412\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u0438\u043c\u043f\u043e\u0440\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u044d\u0442\u043e\u0442 \u0448\u0430\u0431\u043b\u043e\u043d \u0432 \u0444\u043e\u0440\u043c\u0430\u0442\u0435 Termite \u0438 \u044d\u043a\u0441\u043f\u043e\u0440\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0435\u0433\u043e \u0434\u043b\u044f \u0432\u0430\u0448\u0435\u0433\u043e \u0442\u0435\u0440\u043c\u0438\u043d\u0430\u043b\u0430 \u0447\u0435\u0440\u0435\u0437 terminal.sexy<\/p>\n<p>  \u0417\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u043c \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u044e \u0442\u0435\u043c\u044b: <code>p10k configure<\/code>.<br \/>  \u041d\u0430\u0441\u0442\u0440\u043e\u0439\u0442\u0435 \u0442\u0435\u043c\u0443, \u0432\u044b\u0431\u0438\u0440\u0430\u044f \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u044b \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u044f, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0432\u0430\u043c \u0431\u043e\u043b\u044c\u0448\u0435 \u043d\u0440\u0430\u0432\u044f\u0442\u0441\u044f. <\/p>\n<p>  \u0424\u0438\u043d\u0430\u043b\u044c\u043d\u044b\u0439 \u0448\u0442\u0440\u0438\u0445 \u2014 \u043c\u0435\u043d\u044f\u0435\u043c \u043a\u043e\u043d\u0444\u0438\u0433 \u0442\u0435\u043c\u044b \u0438 \u0437\u0430\u043c\u0435\u043d\u044f\u0435\u043c \u0432\u0441\u0442\u0440\u043e\u0435\u043d\u043d\u044b\u0435 \u0446\u0432\u0435\u0442\u0430.<\/p>\n<p>  \u0420\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u0443\u0435\u043c \u0444\u0430\u0439\u043b <code>~\/.p10k.zsh<\/code>.<\/p>\n<p>  \u0415\u0441\u043b\u0438 \u0432 \u0444\u0430\u0439\u043b\u0435 \u044d\u0442\u0438 \u0441\u0442\u0440\u043e\u043a\u0438 \u0443\u0436\u0435 \u0435\u0441\u0442\u044c \u2014 \u0437\u0430\u043c\u0435\u043d\u0438\u0442\u0435 \u0438\u0445. \u041a\u043e\u0434\u044b \u0446\u0432\u0435\u0442\u043e\u0432 \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u043a\u043e\u043c\u0430\u043d\u0434\u043e\u0439<\/p>\n<pre><code class=\"bash\">for i in {0..255}; do print -Pn \\&quot;%K{$i}  %k%F{$i}${(l:3::0:)i}%f \\&quot; ${${(M)$((i%6)):#3}:+$'\\n'}; done<\/code><\/pre>\n<p>  <\/p>\n<ul>\n<li>\u041e\u0442\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0435 \u0442\u043e\u043b\u044c\u043a\u043e \u0442\u0435\u043a\u0443\u0449\u0435\u0439 \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u0438:\n<pre><code class=\"bash\">typeset -g POWERLEVEL9K_SHORTEN_STRATEGY=truncate_to_last<\/code><\/pre>\n<\/li>\n<li>\u0424\u043e\u043d \u0431\u043b\u043e\u043a\u0430 \u0441 \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u0435\u0439:\n<pre><code class=\"bash\">typeset -g POWERLEVEL9K_DIR_BACKGROUND=33<\/code><\/pre>\n<\/li>\n<li>\u0426\u0432\u0435\u0442\u0430 \u0441\u0442\u0440\u0435\u043b\u043e\u043a:\n<pre><code class=\"bash\">typeset -g POWERLEVEL9K_PROMPT_CHAR_OK_{VIINS,VICMD,VIVIS,VIOWR}_FOREGROUND=2<\/code><\/pre>\n<p>  \u0438<\/p>\n<pre><code class=\"bash\">typeset -g POWERLEVEL9K_PROMPT_CHAR_ERROR_{VIINS,VICMD,VIVIS,VIOWR}_FOREGROUND=1<\/code><\/pre>\n<p>  <\/li>\n<li>\u0424\u043e\u043d \u0432\u0435\u0442\u043a\u0438 Git:\n<pre><code class=\"bash\">typeset -g POWERLEVEL9K_VCS_CLEAN_BACKGROUND=15<\/code><\/pre>\n<p>  <\/li>\n<\/ul>\n<h3>\u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442<\/h3>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/post_images\/a90\/15e\/fae\/a9015efaed2eab858ae6983a1dd33087.png\" alt=\"\u0412\u043d\u0435\u0448\u043d\u0438\u0439 \u0432\u0438\u0434 \u0442\u0435\u0440\u043c\u0438\u043d\u0430\u043b\u0430\"><br \/>  \u041e\u0448\u0438\u0431\u043a\u0430:<br \/>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/post_images\/679\/8c9\/428\/6798c9428ccdce626fa26e1df669f9ab.png\" alt=\"\u0412\u043d\u0435\u0448\u043d\u0438\u0439 \u0432\u0438\u0434 \u043e\u0448\u0438\u0431\u043a\u0438\"><br \/>  GIT:<br \/>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/post_images\/714\/6de\/121\/7146de121aedc48fdccc71e7cb2cae65.png\" alt=\"\u0412\u043d\u0435\u0448\u043d\u0438\u0439 \u0432\u0438\u0434 GIT \u043a\u0430\u0442\u0430\u043b\u043e\u0433\u0430\">  <\/p>\n<h4>\u0418\u0441\u0442\u043e\u0447\u043d\u0438\u043a\u0438<\/h4>\n<p>  <a href=\"https:\/\/github.com\/romkatv\/powerlevel10k\" rel=\"nofollow\">\u0414\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u044f PowerLevel10K<\/a><br \/>  <a href=\"http:\/\/terminal.sexy\/\" rel=\"nofollow\">\u041e\u043d\u043b\u0430\u0439\u043d \u0434\u0438\u0437\u0430\u0439\u043d\u0435\u0440 \u0446\u0432\u0435\u0442\u043e\u0432\u044b\u0445 \u0441\u0445\u0435\u043c \u0442\u0435\u0440\u043c\u0438\u043d\u0430\u043b\u0430<\/a><br \/>  <a href=\"https:\/\/habr.com\/ru\/post\/326580\/\">\u0420\u0430\u0437\u043b\u0438\u0447\u0438\u044f \u043c\u0435\u0436\u0434\u0443 Bash \u0438 Zsh<\/a><\/div>\n<p> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"https:\/\/habr.com\/ru\/post\/516004\/\"> https:\/\/habr.com\/ru\/post\/516004\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"\n<div class=\"post__text post__text-html post__text_v1\" id=\"post-content-body\" data-io-article-url=\"https:\/\/habr.com\/ru\/post\/516004\/\">\u0412\u0441\u0435 \u0434\u0438\u0441\u0442\u0440\u0438\u0431\u0443\u0442\u0438\u0432\u044b Linux \u043f\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u044e\u0442\u0441\u044f \u0441 \u0444\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b\u044c\u043d\u044b\u043c \u0438 \u043a\u0430\u0441\u0442\u043e\u043c\u0438\u0437\u0438\u0440\u0443\u0435\u043c\u044b\u043c \u044d\u043c\u0443\u043b\u044f\u0442\u043e\u0440\u043e\u043c \u0442\u0435\u0440\u043c\u0438\u043d\u0430\u043b\u0430. \u0412 \u0438\u043d\u0442\u0435\u0440\u043d\u0435\u0442\u0435, \u0430 \u043f\u043e\u0440\u043e\u0439 \u0434\u0430\u0436\u0435 \u0432 \u0441\u0430\u043c\u043e\u043c \u0442\u0435\u0440\u043c\u0438\u043d\u0430\u043b\u0435, \u0435\u0441\u0442\u044c \u043c\u0430\u0441\u0441\u0430 \u0433\u043e\u0442\u043e\u0432\u044b\u0445 \u0442\u0435\u043c, \u0447\u0442\u043e\u0431 \u043e\u043d \u043a\u0440\u0430\u0441\u0438\u0432\u043e \u0432\u044b\u0433\u043b\u044f\u0434\u0435\u043b. \u041e\u0434\u043d\u0430\u043a\u043e, \u0447\u0442\u043e\u0431 \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0438\u0437 \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u043e\u0433\u043e \u0442\u0435\u0440\u043c\u0438\u043d\u0430\u043b\u0430 (\u0432 \u043b\u044e\u0431\u043e\u043c DE, \u043b\u044e\u0431\u043e\u0433\u043e \u0434\u0438\u0441\u0442\u0440\u0438\u0431\u0443\u0442\u0438\u0432\u0430) \u043d\u0435\u0447\u0442\u043e \u043a\u0440\u0430\u0441\u0438\u0432\u043e\u0435 \u0438 \u043e\u0434\u043d\u043e\u0432\u0440\u0435\u043c\u0435\u043d\u043d\u043e \u0443\u0434\u043e\u0431\u043d\u043e\u0435 \u0438 \u043f\u0440\u043e\u0441\u0442\u043e\u0435 \u0432 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0438 \u044f \u043f\u043e\u0442\u0440\u0430\u0442\u0438\u043b \u043c\u043d\u043e\u0433\u043e \u0432\u0440\u0435\u043c\u0435\u043d\u0438. \u0418\u0442\u0430\u043a, \u043a\u0430\u043a \u0436\u0435 \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0434\u0435\u0444\u043e\u043b\u0442\u043d\u044b\u0439 \u0442\u0435\u0440\u043c\u0438\u043d\u0430\u043b \u0443\u0434\u043e\u0431\u043d\u044b\u043c \u0438 \u043f\u0440\u0438\u044f\u0442\u043d\u044b\u043c \u0432 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0438?  <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-308796","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/308796","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=308796"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/308796\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=308796"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=308796"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=308796"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}