Browse Source

This solves it.

chrome-os
Cian Butler 5 years ago
parent
commit
30f379fe86
2 changed files with 13 additions and 3 deletions
  1. +2
    -0
      gitconfig
  2. +11
    -3
      tmux/tmux.conf

+ 2
- 0
gitconfig View File

@@ -34,7 +34,9 @@
la = "!git config -l | grep alias | cut -c 7-"

raf = remote add fork
rao = remote add origin
ac = !git add . && git commit -am
pushitgood = push -u origin --all
fuckpush = push -u fork --all
forkpush = push -u fork
forcepush = push --force


+ 11
- 3
tmux/tmux.conf View File

@@ -88,10 +88,18 @@ set-option -g status-utf8 on
# Reload vim
set -g @resurrect-strategy-nvim 'session'

# Updates for tmux 1.9's current pane splitting paths.

# from powerline
source "/usr/lib/python3.5/site-packages/powerline/bindings/tmux/powerline.conf"
#pip install --user git+git://github.com/powerline/powerline
if-shell 'test -f ~/.local/lib/python2.7/site-packages/powerline/bindings/tmux/powerline.conf' 'source-file ~/.local/lib/python2.7/site-packages/powerline/bindings/tmux/powerline.conf'
# [sudo] pip install git+git://github.com/powerline/powerline
if-shell 'test -f /usr/local/lib/python2.7/site-packages/powerline/bindings/tmux/powerline.conf' 'source-file /usr/local/lib/python2.7/site-packages/powerline/bindings/tmux/powerline.conf'
# [sudo] pip install git+git://github.com/powerline/powerline
if-shell 'test -f /usr/local/lib/python2.7/dist-packages/powerline/bindings/tmux/powerline.conf' 'source-file /usr/local/lib/python2.7/dist-packages/powerline/bindings/tmux/powerline.conf'
# using python3.3
if-shell 'test -f /usr/local/lib/python3.3/dist-packages/powerline/bindings/tmux/powerline.conf' 'source-file /usr/local/lib/python3.3/dist-packages/powerline/bindings/tmux/powerline.conf'
# python 3.4?
if-shell 'test -f /usr/local/lib/python3.4/dist-packages/powerline/bindings/tmux/powerline.conf' 'source-file /usr/local/lib/python3.4/dist-packages/powerline/bindings/tmux/powerline.conf'
if-shell 'test -f /usr/lib/python3.5/site-packages/powerline/bindings/tmux/powerline.conf' 'source-file /usr/lib/python3.5/site-packages/powerline/bindings/tmux/powerline.conf'
run-shell "tmux set-environment -g TMUX_VERSION_MAJOR $(tmux -V | cut -d' ' -f2 | cut -d'.' -f1 | sed 's/[^0-9]*//g')"
run-shell "tmux set-environment -g TMUX_VERSION_MINOR $(tmux -V | cut -d' ' -f2 | cut -d'.' -f2 | sed 's/[^0-9]*//g')"



Loading…
Cancel
Save