/powerline-shell-go

Powerline for bash shell written in Go

Primary LanguageGo

powerline-shell-go

Just like powerline-shell, but written in Go - which means it's a lot faster!

This is forked from bitbucket.org:devsamurais/powerline-shell-go.

Instalation

  1. Download Go compiler

  2. tar -zxvf go1.2.linux-amd64.tar.gz

  3. Add following to `.profile.:

    #!bash
    export PATH=$PATH:/opt/go/bin
    export GOPATH=$HOME/go
    export GOROOT=/opt/go
    
  4. go get

  5. go build

  6. Open ~/.bashrc

  7. Add

    #!bash
    
    # powerline-shell-go
    function _update_ps1() {
        export PS1="$(~/bin/powerline-shell-go/powerline-shell-go $?)"
    }
    export PROMPT_COMMAND="_update_ps1"
    
    
  8. ???

  9. PROFIT