forked from colonelpanic/dotfiles
Added some more powerline stuff.
This commit is contained in:
@@ -2,11 +2,14 @@
|
||||
BEGIN{
|
||||
column_count=split(cols,column_numbers," ");
|
||||
}
|
||||
{
|
||||
{
|
||||
for(i=1; i<=column_count; i++)
|
||||
if(column_numbers[i] < 0)
|
||||
printf "%s%s", $(NF + 1 + column_numbers[i]), OFS
|
||||
printf "%s", $(NF + 1 + column_numbers[i])
|
||||
else
|
||||
printf "%s%s", $column_numbers[i], OFS
|
||||
printf "%s", $column_numbers[i]
|
||||
if(i <= column_count)
|
||||
printf "%s", OFS
|
||||
|
||||
printf "%s", ORS
|
||||
}
|
||||
|
@@ -182,3 +182,7 @@ function fix_brew_htop() {
|
||||
sudo chown root $(readlink -f `which htop`)
|
||||
sudo chmod 6555 `which htop`
|
||||
}
|
||||
|
||||
function pip_package_location() {
|
||||
pip show $1 | grep Location | get_cols 2
|
||||
}
|
||||
|
@@ -11,11 +11,10 @@ set-option -g status-utf8 on
|
||||
set-option -g status-justify "centre"
|
||||
set-option -g status-left-length 60
|
||||
set-option -g status-right-length 90
|
||||
set-option -g status-bg colour235
|
||||
set-option -g status-fg colour255
|
||||
|
||||
# Set up resize-pane keys
|
||||
bind-key + resize-pane -D 3
|
||||
bind-key / resize-pane -L 3
|
||||
bind-key - resize-pane -U 3
|
||||
bind-key * resize-pane -R 3
|
||||
bind-key * resize-pane -R 3
|
||||
source ~/.tmux.powerline
|
Reference in New Issue
Block a user