Skip to content

aheimsbakk/notes

Repository files navigation

Ramblings of a demented sysadmin

Good old Powerline

Powerline is a status line plugin for vim, and provides status line and prompts for several other applications, including zsh, bash, tmux, IPython, Awesome and Qtile.

  • powerline.sh --- configure powerline for bash, vim and tmux.

Install for all users

wget -O - https://raw.githubusercontent.com/aheimsbakk/notes/master/install-powerline.sh | sudo bash

Install for one user

  1. Edit ~/.bashrc
    vim ~/.bashrc
  2. Add the script
    source powerline.sh

To update/overwrite configuration for bash, vim and tmux run

POWERLINE_OVERWRITE=1 source .bashrc

New powerline-go

  • powerline-other.sh --- configure powerline for vim and tmux with fixes for SSH_AUTH_SOCK for tmux
  • powerline-zgo.sh --- configure powerline for bash using powerline-go

Install for all users

wget -O - https://raw.githubusercontent.com/aheimsbakk/notes/master/install-powerline-go.sh | sudo bash

Install for one user

  1. Edit ~/.bashrc
    vim ~/.bashrc
  2. Add the script
    source powerline-other.sh
    source powerline-zgo.sh

To update/overwrite configuration for bash, vim and tmux run

POWERLINE_OVERWRITE=1 source .bashrc

Install plugins

When you start Vim the first time. Install plugins:

:PlugInstall

Hyperthreding

  • ht.sh - turn off and on hyperthreading
vim: spell spelllang=en ts=2 st=2 et ai:

About

Ramblings of a demented sysadmin

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages