Skip to main content

Включение расцветки Bash

sudo dnf install git wget curl ruby ruby-devel util-linux-user redhat-rpm-config gcc gcc-c++ make fontawesome-fonts powerline vim-powerline tmux-powerline powerline-fonts
sudo gem install colorls
sudo gem update colorls
git clone --depth=1 https://github.com/ryanoasis/nerd-fonts ~/.nerd-fonts
cd .nerd-fonts
sudo ./install.sh -S
fc-cache -f -v
nano ~/.bashrc

if [ -f `which powerline-daemon` ]; then
  powerline-daemon -q
  POWERLINE_BASH_CONTINUATION=1
  POWERLINE_BASH_SELECT=1
  . /usr/share/powerline/bash/powerline.sh
fi

alias ll='colorls -lA --sd --gs --group-directories-first'
alias ls='colorls --group-directories-first'