cbsd complations
This commit is contained in:
parent
d6de60af09
commit
338b1d581f
20
README.md
20
README.md
|
|
@ -1,12 +1,12 @@
|
||||||
```
|
```
|
||||||
#Во FreeBSD можно установить все из пакетов (шрифты нужны только на десктопе):
|
# Во FreeBSD можно установить все из пакетов (шрифты нужны только на десктопе):
|
||||||
pkg install py36-powerline-status powerline-fonts py36-psutil
|
pkg install py36-powerline-status powerline-fonts py36-psutil
|
||||||
|
|
||||||
#В Ubuntu тоже есть пакет...
|
# В Ubuntu тоже есть пакет...
|
||||||
sudo apt install powerline
|
sudo apt install powerline
|
||||||
|
|
||||||
|
|
||||||
#Это нужно на любой из систем:
|
# Это нужно на любой из систем:
|
||||||
cd
|
cd
|
||||||
|
|
||||||
sh -c "$(wget https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh -O -)"
|
sh -c "$(wget https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh -O -)"
|
||||||
|
|
@ -14,12 +14,12 @@ sed -i.bak -E 's/ZSH_THEME="robbyrussell"/#ZSH_THEME="robbyrussell"\nZSH_THEME="
|
||||||
|
|
||||||
sed -Ei.bak 's/# DISABLE_AUTO_TITLE="true"/# DISABLE_AUTO_TITLE="true"\nDISABLE_AUTO_TITLE="true"/;s/^plugins=\(git\)/plugins=(git screen tmux)/' ~/.zshrc
|
sed -Ei.bak 's/# DISABLE_AUTO_TITLE="true"/# DISABLE_AUTO_TITLE="true"\nDISABLE_AUTO_TITLE="true"/;s/^plugins=\(git\)/plugins=(git screen tmux)/' ~/.zshrc
|
||||||
|
|
||||||
#Тема для oh-my-zsh:
|
# Тема для oh-my-zsh:
|
||||||
git clone https://github.com/bhilburn/powerlevel9k.git ~/.oh-my-zsh/custom/themes/powerlevel9k
|
git clone https://github.com/bhilburn/powerlevel9k.git ~/.oh-my-zsh/custom/themes/powerlevel9k
|
||||||
#You then need to select this theme in your ~/.zshrc:
|
#You then need to select this theme in your ~/.zshrc:
|
||||||
#ZSH_THEME="powerlevel9k/powerlevel9k"
|
#ZSH_THEME="powerlevel9k/powerlevel9k"
|
||||||
|
|
||||||
#Еще одна, только значительно быстрее:
|
# Еще одна, только значительно быстрее:
|
||||||
git clone https://github.com/romkatv/powerlevel10k.git $ZSH_CUSTOM/themes/powerlevel10k
|
git clone https://github.com/romkatv/powerlevel10k.git $ZSH_CUSTOM/themes/powerlevel10k
|
||||||
#ZSH_THEME="powerlevel10k/powerlevel10k"
|
#ZSH_THEME="powerlevel10k/powerlevel10k"
|
||||||
#POWERLEVEL9K_DIR_DEFAULT_BACKGROUND="steelblue"
|
#POWERLEVEL9K_DIR_DEFAULT_BACKGROUND="steelblue"
|
||||||
|
|
@ -29,16 +29,20 @@ git clone https://github.com/romkatv/powerlevel10k.git $ZSH_CUSTOM/themes/powerl
|
||||||
#POWERLEVEL9K_VCS_BACKENDS=(git hg)
|
#POWERLEVEL9K_VCS_BACKENDS=(git hg)
|
||||||
#POWERLEVEL9K_DIR_PATH_HIGHLIGHT_BOLD="true"
|
#POWERLEVEL9K_DIR_PATH_HIGHLIGHT_BOLD="true"
|
||||||
|
|
||||||
#Это нужно только на десктопе с терминалами, на серверах шрифты не нужны!
|
# Это нужно только на десктопе с терминалами, на серверах шрифты не нужны!
|
||||||
git clone https://github.com/powerline/fonts.git --depth=1 && cd fonts && ./install.sh
|
git clone https://github.com/powerline/fonts.git --depth=1 && cd fonts && ./install.sh
|
||||||
|
|
||||||
#Для wsl можно переопределить скриндир
|
# Для wsl можно переопределить скриндир
|
||||||
mkdir ~/.screen && chmod 700 ~/.screen
|
mkdir ~/.screen && chmod 700 ~/.screen
|
||||||
echo 'export SCREENDIR=$HOME/.screen' >> ~/.zshrc
|
echo 'export SCREENDIR=$HOME/.screen' >> ~/.zshrc
|
||||||
|
|
||||||
#Репа с конфигами:
|
# Репа с конфигами:
|
||||||
git clone https://gitlab.doct.org.ua/zaika/skel.git
|
git clone https://gitlab.doct.org.ua/zaika/skel.git
|
||||||
ln -s ~/skel/.screenrc ~/
|
ln -s ~/skel/.screenrc ~/
|
||||||
ln -s ~/skel/.tmux.conf ~/
|
ln -s ~/skel/.tmux.conf ~/
|
||||||
|
|
||||||
|
# zsh completions for cbsd
|
||||||
|
mkdir ~/.oh-my-zsh/completions
|
||||||
|
ln -sf /usr/local/cbsd/share/autocompletion/zsh/_cbsd ~/.oh-my-zsh/completions/_cbsd
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue