a bit to perfect tmux

This commit is contained in:
Denis Zaika 2019-06-18 21:54:08 +03:00
parent 2bd7f87a13
commit 9469de7c1c
2 changed files with 7 additions and 2 deletions

View File

@ -1,7 +1,9 @@
source "/usr/share/powerline/bindings/tmux/powerline.conf" if-shell "uname | grep -q FreeBSD" "source /usr/local/lib/python3.6/site-packages/powerline/bindings/tmux/powerline.conf"
if-shell "uname | grep -q Linux" "source /usr/share/powerline/bindings/tmux/powerline.conf"
set -g default-terminal "screen-256color" set -g default-terminal "screen-256color"
set -g mouse on
set -g prefix C-a set -g prefix C-a
bind C-a send-prefix bind C-a send-prefix
#set -g lock-command vlock #set -g lock-command vlock
set -g lock-after-time 60 # Seconds; 0 = never set -g lock-after-time 3600 # Seconds; 0 = never
set-window-option -g alternate-screen off set-window-option -g alternate-screen off

View File

@ -2,6 +2,9 @@
sudo apt install powerline sudo apt install powerline
cd cd
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:
#ZSH_THEME="powerlevel9k/powerlevel9k"
#Это нужно только на десктопе с терминалами, на серверах шрифты не нужны! #Это нужно только на десктопе с терминалами, на серверах шрифты не нужны!
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
git clone https://gitlab.doct.org.ua/zaika/skel.git git clone https://gitlab.doct.org.ua/zaika/skel.git