diff --git a/.tmux.conf b/.tmux.conf index 3407500..3d69240 100644 --- a/.tmux.conf +++ b/.tmux.conf @@ -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 mouse on set -g prefix C-a bind C-a send-prefix #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 diff --git a/README.md b/README.md index 08c457b..40dd9d2 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,9 @@ sudo apt install powerline cd 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://gitlab.doct.org.ua/zaika/skel.git