# Терминал на ZSH

{% hint style="success" %}
Большая благодарность автору канала [`Toxblh. Не только Linux`](https://t.me/toxblh_linux) за предоставленный гайд и сорсы.
{% endhint %}

{% embed url="<https://github.com/Toxblh/dotfiles>" %}

Качаем мой `.zshrc`:&#x20;

{% file src="/files/42AAQh7FABG9JSgKibHi" %}

Закидываем `.zshrc` в папку `/home`

<figure><img src="/files/vaymWgaAfcwBxyw07v4R" alt=""><figcaption><p>Чтобы видеть скрытые файлы и каталоги используем CTRL+H</p></figcaption></figure>

Устанавливаем git и zsh

```bash
sudo apt-get install git zsh
```

Устанавливаем zplug

```bash
git clone https://github.com/zplug/zplug ~/.zplug
```

Выполняем установку всех плагинов zplug, просто вбиваем:

```
zsh
```

<figure><img src="/files/ZxyjDHnA9FkLGH5mydnn" alt=""><figcaption></figcaption></figure>

Делаем ZSH по умолчанию для нашего терминала:

```
sudo gedit /etc/passwd
```

и меняем `/bin/bash` на `/bin/zsh`:

<figure><img src="/files/soOPbYBTl2P5TB9pY4r6" alt=""><figcaption></figcaption></figure>

{% hint style="success" %}
Обязательно делаем `systemctl logout` или перезапускаем ПК.
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://plafon.gitbook.io/alt-zero/terminal/zsh.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
