Created
December 30, 2012 21:10
-
-
Save burningTyger/4415230 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
left: | |
++ dirname powerline.sh | |
+ export TMUX_POWERLINE_DIR_HOME=. | |
+ TMUX_POWERLINE_DIR_HOME=. | |
+ source ./config/helpers.sh | |
+ source ./config/paths.sh | |
++ export TMUX_POWERLINE_DIR_LIB=./lib | |
++ TMUX_POWERLINE_DIR_LIB=./lib | |
++ export TMUX_POWERLINE_DIR_SEGMENTS=./segments | |
++ TMUX_POWERLINE_DIR_SEGMENTS=./segments | |
++ export TMUX_POWERLINE_DIR_TEMPORARY=/tmp/tmux-powerline | |
++ TMUX_POWERLINE_DIR_TEMPORARY=/tmp/tmux-powerline | |
++ export TMUX_POWERLINE_DIR_THEMES=./themes | |
++ TMUX_POWERLINE_DIR_THEMES=./themes | |
++ export TMUX_POWERLINE_RCFILE=/Users/me/.tmux-powerlinerc | |
++ TMUX_POWERLINE_RCFILE=/Users/me/.tmux-powerlinerc | |
++ export TMUX_POWERLINE_RCFILE_DEFAULT=/Users/me/.tmux-powerlinerc.default | |
++ TMUX_POWERLINE_RCFILE_DEFAULT=/Users/me/.tmux-powerlinerc.default | |
++ '[' '!' -d /tmp/tmux-powerline ']' | |
+ source ./config/shell.sh | |
++ export SHELL_PLATFORM=unknown | |
++ SHELL_PLATFORM=unknown | |
++ case "$OSTYPE" in | |
++ SHELL_PLATFORM=osx | |
++ export -f shell_is_linux | |
++ export -f shell_is_osx | |
++ export -f shell_is_bsd | |
+ source ./lib/arg_processing.sh | |
+ source ./lib/formatting.sh | |
+ source ./lib/muting.sh | |
+ source ./lib/powerline.sh | |
+ source ./lib/rcfile.sh | |
+ powerline_muted left | |
++ __powerline_mute_file left | |
+++ tmux display -p '#S' | |
++ local tmux_session=0 | |
++ echo -n /tmp/tmux-powerline/mute_0_left | |
+ '[' -e /tmp/tmux-powerline/mute_0_left ']' | |
+ process_settings | |
+ __read_rcfile | |
+ '[' -f /Users/me/.tmux-powerlinerc ']' | |
+ source /Users/me/.tmux-powerlinerc | |
++ export TMUX_POWERLINE_DEBUG_MODE_ENABLED=true | |
++ TMUX_POWERLINE_DEBUG_MODE_ENABLED=true | |
++ export TMUX_POWERLINE_PATCHED_FONT_IN_USE=true | |
++ TMUX_POWERLINE_PATCHED_FONT_IN_USE=true | |
++ export TMUX_POWERLINE_THEME=default | |
++ TMUX_POWERLINE_THEME=default | |
++ export TMUX_POWERLINE_DIR_USER_THEMES= | |
++ TMUX_POWERLINE_DIR_USER_THEMES= | |
++ export TMUX_POWERLINE_DIR_USER_SEGMENTS= | |
++ TMUX_POWERLINE_DIR_USER_SEGMENTS= | |
++ export TMUX_POWERLINE_SEG_BATTERY_TYPE=percentage | |
++ TMUX_POWERLINE_SEG_BATTERY_TYPE=percentage | |
++ export TMUX_POWERLINE_SEG_BATTERY_NUM_HEARTS=5 | |
++ TMUX_POWERLINE_SEG_BATTERY_NUM_HEARTS=5 | |
++ export TMUX_POWERLINE_SEG_NOW_PLAYING_MAX_LEN=40 | |
++ TMUX_POWERLINE_SEG_NOW_PLAYING_MAX_LEN=40 | |
++ export TMUX_POWERLINE_SEG_PWD_MAX_LEN=40 | |
++ TMUX_POWERLINE_SEG_PWD_MAX_LEN=40 | |
++ export TMUX_POWERLINE_SEG_WEATHER_DATA_PROVIDER=yahoo | |
++ TMUX_POWERLINE_SEG_WEATHER_DATA_PROVIDER=yahoo | |
++ export TMUX_POWERLINE_SEG_WEATHER_UNIT=c | |
++ TMUX_POWERLINE_SEG_WEATHER_UNIT=c | |
++ export TMUX_POWERLINE_SEG_WEATHER_UPDATE_PERIOD=600 | |
++ TMUX_POWERLINE_SEG_WEATHER_UPDATE_PERIOD=600 | |
++ export TMUX_POWERLINE_SEG_WEATHER_LOCATION=638806 | |
++ TMUX_POWERLINE_SEG_WEATHER_LOCATION=638806 | |
+ '[' -z true ']' | |
+ '[' -z true ']' | |
+ '[' -z default ']' | |
+ '[' -n '' ']' | |
+ source ./themes/default.sh | |
++ patched_font_in_use | |
++ '[' -z true -o true '!=' false ']' | |
++ TMUX_POWERLINE_SEPARATOR_LEFT_BOLD=$'â®\202' | |
++ TMUX_POWERLINE_SEPARATOR_LEFT_THIN=$'â®\203' | |
++ TMUX_POWERLINE_SEPARATOR_RIGHT_BOLD=$'â®\200' | |
++ TMUX_POWERLINE_SEPARATOR_RIGHT_THIN=$'â®\201' | |
++ TMUX_POWERLINE_DEFAULT_BACKGROUND_COLOR=235 | |
++ TMUX_POWERLINE_DEFAULT_FOREGROUND_COLOR=255 | |
++ TMUX_POWERLINE_DEFAULT_LEFTSIDE_SEPARATOR=$'â®\200' | |
++ TMUX_POWERLINE_DEFAULT_RIGHTSIDE_SEPARATOR=$'â®\202' | |
++ '[' -z ']' | |
++ TMUX_POWERLINE_LEFT_STATUS_SEGMENTS=("tmux_session_info 148 234" "hostname 33 0" "lan_ip 24 255 ${TMUX_POWERLINE_SEPARATOR_RIGHT_THIN}" "wan_ip 24 255" "vcs_branch 29 88" "vcs_compare 60 255" "vcs_staged 64 255" "vcs_modified 9 255" "vcs_others 245 0") | |
++ '[' -z ']' | |
++ TMUX_POWERLINE_RIGHT_STATUS_SEGMENTS=("pwd 89 211" "mail_count 9 255" "now_playing 234 37" "load 237 167" "battery 137 127" "weather 37 255" "date_day 235 136" "date_full 235 136 ${TMUX_POWERLINE_SEPARATOR_LEFT_THIN}" "time 235 136 ${TMUX_POWERLINE_SEPARATOR_LEFT_THIN}") | |
+ check_arg_side left | |
+ local side=left | |
+ '[' left == left -o left == right ']' | |
+ print_powerline left | |
+ local side=left | |
+ eval 'local input_segments=("${TMUX_POWERLINE_LEFT_STATUS_SEGMENTS[@]}")' | |
++ input_segments=("${TMUX_POWERLINE_LEFT_STATUS_SEGMENTS[@]}") | |
++ local input_segments | |
+ powerline_segments=() | |
+ local powerline_segments | |
+ powerline_segment_contents=() | |
+ local powerline_segment_contents | |
+ __check_platform | |
+ '[' osx == unknown ']' | |
+ __process_segment_defaults | |
+ for segment_index in '"${!input_segments[@]}"' | |
+ input_segment=(${input_segments[$segment_index]}) | |
+ local input_segment | |
+ eval 'local default_separator=$TMUX_POWERLINE_DEFAULT_LEFTSIDE_SEPARATOR' | |
++ local $'default_separator=â®\200' | |
+ powerline_segment_with_defaults=(${input_segment[0]:-"no_script"} ${input_segment[1]:-$TMUX_POWERLINE_DEFAULT_BACKGROUND_COLOR} ${input_segment[2]:-$TMUX_POWERLINE_DEFAULT_FOREGROUND_COLOR} ${input_segment[3]:-$default_separator}) | |
+ powerline_segments[$segment_index]='tmux_session_info 148 234 â®' | |
+ for segment_index in '"${!input_segments[@]}"' | |
+ input_segment=(${input_segments[$segment_index]}) | |
+ local input_segment | |
+ eval 'local default_separator=$TMUX_POWERLINE_DEFAULT_LEFTSIDE_SEPARATOR' | |
++ local $'default_separator=â®\200' | |
+ powerline_segment_with_defaults=(${input_segment[0]:-"no_script"} ${input_segment[1]:-$TMUX_POWERLINE_DEFAULT_BACKGROUND_COLOR} ${input_segment[2]:-$TMUX_POWERLINE_DEFAULT_FOREGROUND_COLOR} ${input_segment[3]:-$default_separator}) | |
+ powerline_segments[$segment_index]='hostname 33 0 â®' | |
+ for segment_index in '"${!input_segments[@]}"' | |
+ input_segment=(${input_segments[$segment_index]}) | |
+ local input_segment | |
+ eval 'local default_separator=$TMUX_POWERLINE_DEFAULT_LEFTSIDE_SEPARATOR' | |
++ local $'default_separator=â®\200' | |
+ powerline_segment_with_defaults=(${input_segment[0]:-"no_script"} ${input_segment[1]:-$TMUX_POWERLINE_DEFAULT_BACKGROUND_COLOR} ${input_segment[2]:-$TMUX_POWERLINE_DEFAULT_FOREGROUND_COLOR} ${input_segment[3]:-$default_separator}) | |
+ powerline_segments[$segment_index]='lan_ip 24 255 â®' | |
+ for segment_index in '"${!input_segments[@]}"' | |
+ input_segment=(${input_segments[$segment_index]}) | |
+ local input_segment | |
+ eval 'local default_separator=$TMUX_POWERLINE_DEFAULT_LEFTSIDE_SEPARATOR' | |
++ local $'default_separator=â®\200' | |
+ powerline_segment_with_defaults=(${input_segment[0]:-"no_script"} ${input_segment[1]:-$TMUX_POWERLINE_DEFAULT_BACKGROUND_COLOR} ${input_segment[2]:-$TMUX_POWERLINE_DEFAULT_FOREGROUND_COLOR} ${input_segment[3]:-$default_separator}) | |
+ powerline_segments[$segment_index]='wan_ip 24 255 â®' | |
+ for segment_index in '"${!input_segments[@]}"' | |
+ input_segment=(${input_segments[$segment_index]}) | |
+ local input_segment | |
+ eval 'local default_separator=$TMUX_POWERLINE_DEFAULT_LEFTSIDE_SEPARATOR' | |
++ local $'default_separator=â®\200' | |
+ powerline_segment_with_defaults=(${input_segment[0]:-"no_script"} ${input_segment[1]:-$TMUX_POWERLINE_DEFAULT_BACKGROUND_COLOR} ${input_segment[2]:-$TMUX_POWERLINE_DEFAULT_FOREGROUND_COLOR} ${input_segment[3]:-$default_separator}) | |
+ powerline_segments[$segment_index]='vcs_branch 29 88 â®' | |
+ for segment_index in '"${!input_segments[@]}"' | |
+ input_segment=(${input_segments[$segment_index]}) | |
+ local input_segment | |
+ eval 'local default_separator=$TMUX_POWERLINE_DEFAULT_LEFTSIDE_SEPARATOR' | |
++ local $'default_separator=â®\200' | |
+ powerline_segment_with_defaults=(${input_segment[0]:-"no_script"} ${input_segment[1]:-$TMUX_POWERLINE_DEFAULT_BACKGROUND_COLOR} ${input_segment[2]:-$TMUX_POWERLINE_DEFAULT_FOREGROUND_COLOR} ${input_segment[3]:-$default_separator}) | |
+ powerline_segments[$segment_index]='vcs_compare 60 255 â®' | |
+ for segment_index in '"${!input_segments[@]}"' | |
+ input_segment=(${input_segments[$segment_index]}) | |
+ local input_segment | |
+ eval 'local default_separator=$TMUX_POWERLINE_DEFAULT_LEFTSIDE_SEPARATOR' | |
++ local $'default_separator=â®\200' | |
+ powerline_segment_with_defaults=(${input_segment[0]:-"no_script"} ${input_segment[1]:-$TMUX_POWERLINE_DEFAULT_BACKGROUND_COLOR} ${input_segment[2]:-$TMUX_POWERLINE_DEFAULT_FOREGROUND_COLOR} ${input_segment[3]:-$default_separator}) | |
+ powerline_segments[$segment_index]='vcs_staged 64 255 â®' | |
+ for segment_index in '"${!input_segments[@]}"' | |
+ input_segment=(${input_segments[$segment_index]}) | |
+ local input_segment | |
+ eval 'local default_separator=$TMUX_POWERLINE_DEFAULT_LEFTSIDE_SEPARATOR' | |
++ local $'default_separator=â®\200' | |
+ powerline_segment_with_defaults=(${input_segment[0]:-"no_script"} ${input_segment[1]:-$TMUX_POWERLINE_DEFAULT_BACKGROUND_COLOR} ${input_segment[2]:-$TMUX_POWERLINE_DEFAULT_FOREGROUND_COLOR} ${input_segment[3]:-$default_separator}) | |
+ powerline_segments[$segment_index]='vcs_modified 9 255 â®' | |
+ for segment_index in '"${!input_segments[@]}"' | |
+ input_segment=(${input_segments[$segment_index]}) | |
+ local input_segment | |
+ eval 'local default_separator=$TMUX_POWERLINE_DEFAULT_LEFTSIDE_SEPARATOR' | |
++ local $'default_separator=â®\200' | |
+ powerline_segment_with_defaults=(${input_segment[0]:-"no_script"} ${input_segment[1]:-$TMUX_POWERLINE_DEFAULT_BACKGROUND_COLOR} ${input_segment[2]:-$TMUX_POWERLINE_DEFAULT_FOREGROUND_COLOR} ${input_segment[3]:-$default_separator}) | |
+ powerline_segments[$segment_index]='vcs_others 245 0 â®' | |
+ __process_scripts | |
+ for segment_index in '"${!powerline_segments[@]}"' | |
+ powerline_segment=(${powerline_segments[$segment_index]}) | |
+ local powerline_segment | |
+ '[' -n '' ']' | |
+ local script=./segments/tmux_session_info.sh | |
+ export TMUX_POWERLINE_CUR_SEGMENT_BG=148 | |
+ TMUX_POWERLINE_CUR_SEGMENT_BG=148 | |
+ export TMUX_POWERLINE_CUR_SEGMENT_FG=234 | |
+ TMUX_POWERLINE_CUR_SEGMENT_FG=234 | |
+ source ./segments/tmux_session_info.sh | |
+ local output | |
++ run_segment | |
++ tmux display-message -p '#S:#I.#P' | |
++ return 0 | |
+ output=0:0.0 | |
+ local exit_code=0 | |
+ unset -f run_segment | |
+ '[' 0 -ne 0 ']' | |
+ '[' -n 0:0.0 ']' | |
+ powerline_segment_contents[$segment_index]=' 0:0.0 ' | |
+ for segment_index in '"${!powerline_segments[@]}"' | |
+ powerline_segment=(${powerline_segments[$segment_index]}) | |
+ local powerline_segment | |
+ '[' -n '' ']' | |
+ local script=./segments/hostname.sh | |
+ export TMUX_POWERLINE_CUR_SEGMENT_BG=33 | |
+ TMUX_POWERLINE_CUR_SEGMENT_BG=33 | |
+ export TMUX_POWERLINE_CUR_SEGMENT_FG=0 | |
+ TMUX_POWERLINE_CUR_SEGMENT_FG=0 | |
+ source ./segments/hostname.sh | |
+ local output | |
++ run_segment | |
++ hostname -s | |
++ return 0 | |
+ output=daheim | |
+ local exit_code=0 | |
+ unset -f run_segment | |
+ '[' 0 -ne 0 ']' | |
+ '[' -n daheim ']' | |
+ powerline_segment_contents[$segment_index]=' daheim ' | |
+ for segment_index in '"${!powerline_segments[@]}"' | |
+ powerline_segment=(${powerline_segments[$segment_index]}) | |
+ local powerline_segment | |
+ '[' -n '' ']' | |
+ local script=./segments/lan_ip.sh | |
+ export TMUX_POWERLINE_CUR_SEGMENT_BG=24 | |
+ TMUX_POWERLINE_CUR_SEGMENT_BG=24 | |
+ export TMUX_POWERLINE_CUR_SEGMENT_FG=255 | |
+ TMUX_POWERLINE_CUR_SEGMENT_FG=255 | |
+ source ./segments/lan_ip.sh | |
+ local output | |
++ run_segment | |
++ shell_is_bsd | |
++ [[ osx == \b\s\d ]] | |
++ [[ osx == \o\s\x ]] | |
+++ ifconfig | |
+++ awk -F: '/^[a-z]/ && !/^lo/ { print $1 }' | |
++ all_nics='gif0 | |
stf0 | |
en0 | |
en1 | |
fw0 | |
vboxnet0' | |
++ for nic in '${all_nics[@]}' | |
+++ ifconfig gif0 | |
+++ awk '$1 == "inet" { print $2 }' | |
++ ipv4s_on_nic= | |
++ [[ -n '' ]] | |
++ for nic in '${all_nics[@]}' | |
+++ ifconfig stf0 | |
+++ awk '$1 == "inet" { print $2 }' | |
++ ipv4s_on_nic= | |
++ [[ -n '' ]] | |
++ for nic in '${all_nics[@]}' | |
+++ ifconfig en0 | |
+++ awk '$1 == "inet" { print $2 }' | |
++ ipv4s_on_nic= | |
++ [[ -n '' ]] | |
++ for nic in '${all_nics[@]}' | |
+++ ifconfig en1 | |
+++ awk '$1 == "inet" { print $2 }' | |
++ ipv4s_on_nic=192.168.178.26 | |
++ for lan_ip in '${ipv4s_on_nic[@]}' | |
++ [[ -n 192.168.178.26 ]] | |
++ break | |
++ [[ -n 192.168.178.26 ]] | |
++ break | |
++ '[' -n 192.168.178.26 ']' | |
++ echo 'â 192.168.178.26' | |
++ return 0 | |
+ output='â 192.168.178.26' | |
+ local exit_code=0 | |
+ unset -f run_segment | |
+ '[' 0 -ne 0 ']' | |
+ '[' -n 'â 192.168.178.26' ']' | |
+ powerline_segment_contents[$segment_index]=' â 192.168.178.26 ' | |
+ for segment_index in '"${!powerline_segments[@]}"' | |
+ powerline_segment=(${powerline_segments[$segment_index]}) | |
+ local powerline_segment | |
+ '[' -n '' ']' | |
+ local script=./segments/wan_ip.sh | |
+ export TMUX_POWERLINE_CUR_SEGMENT_BG=24 | |
+ TMUX_POWERLINE_CUR_SEGMENT_BG=24 | |
+ export TMUX_POWERLINE_CUR_SEGMENT_FG=255 | |
+ TMUX_POWERLINE_CUR_SEGMENT_FG=255 | |
+ source ./segments/wan_ip.sh | |
++ tmp_file=/tmp/tmux-powerline/wan_ip.txt | |
+ local output | |
++ run_segment | |
++ wan_ip= | |
++ '[' -f /tmp/tmux-powerline/wan_ip.txt ']' | |
++ shell_is_osx | |
++ [[ osx == \o\s\x ]] | |
+++ stat -f %m /tmp/tmux-powerline/wan_ip.txt | |
++ last_update=1356901542 | |
+++ date +%s | |
++ time_now=1356901668 | |
++ update_period=900 | |
+++ echo '(1356901668-1356901542) < 900' | |
+++ bc | |
++ up_to_date=1 | |
++ '[' 1 -eq 1 ']' | |
+++ cat /tmp/tmux-powerline/wan_ip.txt | |
++ wan_ip=178.202.205.172 | |
++ '[' -z 178.202.205.172 ']' | |
++ '[' -n 178.202.205.172 ']' | |
++ echo '⦠178.202.205.172' | |
++ return 0 | |
+ output='⦠178.202.205.172' | |
+ local exit_code=0 | |
+ unset -f run_segment | |
+ '[' 0 -ne 0 ']' | |
+ '[' -n '⦠178.202.205.172' ']' | |
+ powerline_segment_contents[$segment_index]=' ⦠178.202.205.172 ' | |
+ for segment_index in '"${!powerline_segments[@]}"' | |
+ powerline_segment=(${powerline_segments[$segment_index]}) | |
+ local powerline_segment | |
+ '[' -n '' ']' | |
+ local script=./segments/vcs_branch.sh | |
+ export TMUX_POWERLINE_CUR_SEGMENT_BG=29 | |
+ TMUX_POWERLINE_CUR_SEGMENT_BG=29 | |
+ export TMUX_POWERLINE_CUR_SEGMENT_FG=88 | |
+ TMUX_POWERLINE_CUR_SEGMENT_FG=88 | |
+ source ./segments/vcs_branch.sh | |
++ source ./lib/tmux_adapter.sh | |
++ branch_symbol=â | |
++ git_colour=5 | |
++ svn_colour=220 | |
++ hg_colour=45 | |
+ local output | |
++ run_segment | |
+++ get_tmux_cwd | |
++++ tmux display -p TMUXPWD_#D | |
++++ tr -d % | |
+++ local env_name=TMUXPWD_0 | |
++++ tmux show-environment | |
++++ grep --color=never TMUXPWD_0 | |
+++ local env_val= | |
+++ [[ ! '' =~ unknown variable ]] | |
++++ echo '' | |
++++ sed 's/^.*=//' | |
+++ local tmux_pwd= | |
+++ echo '' | |
++ tmux_path= | |
++ cd '' | |
++ branch= | |
+++ __parse_git_branch | |
+++ type git | |
+++ '[' 0 -ne 0 ']' | |
++++ git symbolic-ref HEAD | |
+++ branch=refs/heads/master | |
+++ [[ -z refs/heads/master ]] | |
+++ '[' 0 -ne 0 ']' | |
+++ branch=master | |
+++ echo -n '#[fg=colour5]â #[fg=colour88]master' | |
++ '[' -n '#[fg=colour5]â #[fg=colour88]master' ']' | |
++ branch='#[fg=colour5]â #[fg=colour88]master' | |
++ '[' -n '#[fg=colour5]â #[fg=colour88]master' ']' | |
++ echo '#[fg=colour5]â #[fg=colour88]master' | |
++ return 0 | |
+ output='#[fg=colour5]â #[fg=colour88]master' | |
+ local exit_code=0 | |
+ unset -f run_segment | |
+ '[' 0 -ne 0 ']' | |
+ '[' -n '#[fg=colour5]â #[fg=colour88]master' ']' | |
+ powerline_segment_contents[$segment_index]=' #[fg=colour5]â #[fg=colour88]master ' | |
+ for segment_index in '"${!powerline_segments[@]}"' | |
+ powerline_segment=(${powerline_segments[$segment_index]}) | |
+ local powerline_segment | |
+ '[' -n '' ']' | |
+ local script=./segments/vcs_compare.sh | |
+ export TMUX_POWERLINE_CUR_SEGMENT_BG=60 | |
+ TMUX_POWERLINE_CUR_SEGMENT_BG=60 | |
+ export TMUX_POWERLINE_CUR_SEGMENT_FG=255 | |
+ TMUX_POWERLINE_CUR_SEGMENT_FG=255 | |
+ source ./segments/vcs_compare.sh | |
++ source ./lib/tmux_adapter.sh | |
++ flat_symbol=$'â¤\232' | |
+ local output | |
++ run_segment | |
+++ get_tmux_cwd | |
++++ tmux display -p TMUXPWD_#D | |
++++ tr -d % | |
+++ local env_name=TMUXPWD_0 | |
++++ tmux show-environment | |
++++ grep --color=never TMUXPWD_0 | |
+++ local env_val= | |
+++ [[ ! '' =~ unknown variable ]] | |
++++ echo '' | |
++++ sed 's/^.*=//' | |
+++ local tmux_pwd= | |
+++ echo '' | |
++ tmux_path= | |
++ cd '' | |
++ stats= | |
+++ __parse_git_stats | |
+++ type git | |
+++ '[' 0 -ne 0 ']' | |
++++ git rev-parse --git-dir | |
+++ [[ -z .git ]] | |
+++++ git symbolic-ref -q HEAD | |
++++ git for-each-ref '--format=%(upstream:short)' refs/heads/master | |
+++ tracking_branch=origin/master | |
++++ git rev-list --left-right --count origin/master...HEAD | |
+++ set -- 0 0 | |
+++ behind=0 | |
+++ ahead=0 | |
+++ [[ 0 -gt 0 ]] | |
+++ [[ 0 -gt 0 ]] | |
+++ echo '' | |
++ '[' -n '' ']' | |
+++ __parse_svn_stats | |
+++ type svn | |
+++ '[' 0 -ne 0 ']' | |
++ '[' -n '' ']' | |
+++ __parse_hg_stats | |
+++ type hg | |
+++ '[' 0 -ne 0 ']' | |
++ '[' -n '' ']' | |
++ '[' -n '' ']' | |
++ return 0 | |
+ output= | |
+ local exit_code=0 | |
+ unset -f run_segment | |
+ '[' 0 -ne 0 ']' | |
+ '[' -n '' ']' | |
+ unset -v 'powerline_segments[5]' | |
+ for segment_index in '"${!powerline_segments[@]}"' | |
+ powerline_segment=(${powerline_segments[$segment_index]}) | |
+ local powerline_segment | |
+ '[' -n '' ']' | |
+ local script=./segments/vcs_staged.sh | |
+ export TMUX_POWERLINE_CUR_SEGMENT_BG=64 | |
+ TMUX_POWERLINE_CUR_SEGMENT_BG=64 | |
+ export TMUX_POWERLINE_CUR_SEGMENT_FG=255 | |
+ TMUX_POWERLINE_CUR_SEGMENT_FG=255 | |
+ source ./segments/vcs_staged.sh | |
++ source ./lib/tmux_adapter.sh | |
++ staged_symbol='â ' | |
+ local output | |
++ run_segment | |
+++ get_tmux_cwd | |
++++ tmux display -p TMUXPWD_#D | |
++++ tr -d % | |
+++ local env_name=TMUXPWD_0 | |
++++ tmux show-environment | |
++++ grep --color=never TMUXPWD_0 | |
+++ local env_val= | |
+++ [[ ! '' =~ unknown variable ]] | |
++++ echo '' | |
++++ sed 's/^.*=//' | |
+++ local tmux_pwd= | |
+++ echo '' | |
++ tmux_path= | |
++ cd '' | |
++ stats= | |
+++ __parse_git_stats | |
+++ type git | |
+++ '[' 0 -ne 0 ']' | |
++++ git rev-parse --git-dir | |
+++ [[ -z .git ]] | |
++++ git diff --staged --name-status | |
++++ wc -l | |
+++ staged=' 0' | |
+++ echo ' 0' | |
++ '[' -n ' 0' ']' | |
++ stats=' 0' | |
++ [[ -n 0 ]] | |
++ [[ 0 -gt 0 ]] | |
++ return 0 | |
+ output= | |
+ local exit_code=0 | |
+ unset -f run_segment | |
+ '[' 0 -ne 0 ']' | |
+ '[' -n '' ']' | |
+ unset -v 'powerline_segments[6]' | |
+ for segment_index in '"${!powerline_segments[@]}"' | |
+ powerline_segment=(${powerline_segments[$segment_index]}) | |
+ local powerline_segment | |
+ '[' -n '' ']' | |
+ local script=./segments/vcs_modified.sh | |
+ export TMUX_POWERLINE_CUR_SEGMENT_BG=9 | |
+ TMUX_POWERLINE_CUR_SEGMENT_BG=9 | |
+ export TMUX_POWERLINE_CUR_SEGMENT_FG=255 | |
+ TMUX_POWERLINE_CUR_SEGMENT_FG=255 | |
+ source ./segments/vcs_modified.sh | |
++ source ./lib/tmux_adapter.sh | |
++ mod_symbol=ï¹¢ | |
+ local output | |
++ run_segment | |
+++ get_tmux_cwd | |
++++ tmux display -p TMUXPWD_#D | |
++++ tr -d % | |
+++ local env_name=TMUXPWD_0 | |
++++ tmux show-environment | |
++++ grep --color=never TMUXPWD_0 | |
+++ local env_val= | |
+++ [[ ! '' =~ unknown variable ]] | |
++++ echo '' | |
++++ sed 's/^.*=//' | |
+++ local tmux_pwd= | |
+++ echo '' | |
++ tmux_path= | |
++ cd '' | |
++ stats= | |
+++ __parse_git_stats | |
+++ type git | |
+++ '[' 0 -ne 0 ']' | |
++++ git rev-parse --git-dir | |
+++ [[ -z .git ]] | |
++++ git ls-files --modified | |
++++ wc -l | |
+++ staged=' 0' | |
+++ echo 0 | |
++ '[' -n 0 ']' | |
++ stats=0 | |
++ [[ -n 0 ]] | |
++ [[ 0 -gt 0 ]] | |
+ output= | |
+ local exit_code=0 | |
+ unset -f run_segment | |
+ '[' 0 -ne 0 ']' | |
+ '[' -n '' ']' | |
+ unset -v 'powerline_segments[7]' | |
+ for segment_index in '"${!powerline_segments[@]}"' | |
+ powerline_segment=(${powerline_segments[$segment_index]}) | |
+ local powerline_segment | |
+ '[' -n '' ']' | |
+ local script=./segments/vcs_others.sh | |
+ export TMUX_POWERLINE_CUR_SEGMENT_BG=245 | |
+ TMUX_POWERLINE_CUR_SEGMENT_BG=245 | |
+ export TMUX_POWERLINE_CUR_SEGMENT_FG=0 | |
+ TMUX_POWERLINE_CUR_SEGMENT_FG=0 | |
+ source ./segments/vcs_others.sh | |
++ source ./lib/tmux_adapter.sh | |
++ other_symbol='⯠' | |
+ local output | |
++ run_segment | |
+++ get_tmux_cwd | |
++++ tmux display -p TMUXPWD_#D | |
++++ tr -d % | |
+++ local env_name=TMUXPWD_0 | |
++++ tmux show-environment | |
++++ grep --color=never TMUXPWD_0 | |
+++ local env_val= | |
+++ [[ ! '' =~ unknown variable ]] | |
++++ echo '' | |
++++ sed 's/^.*=//' | |
+++ local tmux_pwd= | |
+++ echo '' | |
++ tmux_path= | |
++ cd '' | |
++ stats= | |
+++ __parse_git_stats | |
+++ type git | |
+++ '[' 0 -ne 0 ']' | |
++++ git rev-parse --git-dir | |
+++ [[ -z .git ]] | |
++++ git ls-files --others --exclude-standard | |
++++ wc -l | |
+++ other=' 1' | |
+++ echo 1 | |
++ '[' -n 1 ']' | |
++ stats=1 | |
++ [[ -n 1 ]] | |
++ [[ 1 -gt 0 ]] | |
++ echo '⯠1' | |
++ return 0 | |
+ output='⯠1' | |
+ local exit_code=0 | |
+ unset -f run_segment | |
+ '[' 0 -ne 0 ']' | |
+ '[' -n '⯠1' ']' | |
+ powerline_segment_contents[$segment_index]=' ⯠1 ' | |
+ __process_colors | |
+ for segment_index in '"${!powerline_segments[@]}"' | |
+ powerline_segment=(${powerline_segments[$segment_index]}) | |
+ local powerline_segment | |
+ next_segment=(${powerline_segments[segment_index + 1]}) | |
+ local next_segment | |
+ '[' left == left ']' | |
+ powerline_segment[4]=33 | |
+ __segment_separator_is_thin | |
+ [[ â® == â® ]] | |
+ [[ â® == â® ]] | |
+ powerline_segment[5]=148 | |
+ local previous_background_color=148 | |
+ powerline_segments[$segment_index]='tmux_session_info 148 234 â® 33 148' | |
+ for segment_index in '"${!powerline_segments[@]}"' | |
+ powerline_segment=(${powerline_segments[$segment_index]}) | |
+ local powerline_segment | |
+ next_segment=(${powerline_segments[segment_index + 1]}) | |
+ local next_segment | |
+ '[' left == left ']' | |
+ powerline_segment[4]=24 | |
+ __segment_separator_is_thin | |
+ [[ â® == â® ]] | |
+ [[ â® == â® ]] | |
+ powerline_segment[5]=33 | |
+ local previous_background_color=33 | |
+ powerline_segments[$segment_index]='hostname 33 0 â® 24 33' | |
+ for segment_index in '"${!powerline_segments[@]}"' | |
+ powerline_segment=(${powerline_segments[$segment_index]}) | |
+ local powerline_segment | |
+ next_segment=(${powerline_segments[segment_index + 1]}) | |
+ local next_segment | |
+ '[' left == left ']' | |
+ powerline_segment[4]=24 | |
+ __segment_separator_is_thin | |
+ [[ â® == â® ]] | |
+ [[ â® == â® ]] | |
+ powerline_segment[5]=255 | |
+ local previous_background_color=24 | |
+ powerline_segments[$segment_index]='lan_ip 24 255 â® 24 255' | |
+ for segment_index in '"${!powerline_segments[@]}"' | |
+ powerline_segment=(${powerline_segments[$segment_index]}) | |
+ local powerline_segment | |
+ next_segment=(${powerline_segments[segment_index + 1]}) | |
+ local next_segment | |
+ '[' left == left ']' | |
+ powerline_segment[4]=29 | |
+ __segment_separator_is_thin | |
+ [[ â® == â® ]] | |
+ [[ â® == â® ]] | |
+ powerline_segment[5]=24 | |
+ local previous_background_color=24 | |
+ powerline_segments[$segment_index]='wan_ip 24 255 â® 29 24' | |
+ for segment_index in '"${!powerline_segments[@]}"' | |
+ powerline_segment=(${powerline_segments[$segment_index]}) | |
+ local powerline_segment | |
+ next_segment=(${powerline_segments[segment_index + 1]}) | |
+ local next_segment | |
+ '[' left == left ']' | |
+ powerline_segment[4]=235 | |
+ __segment_separator_is_thin | |
+ [[ â® == â® ]] | |
+ [[ â® == â® ]] | |
+ powerline_segment[5]=29 | |
+ local previous_background_color=29 | |
+ powerline_segments[$segment_index]='vcs_branch 29 88 â® 235 29' | |
+ for segment_index in '"${!powerline_segments[@]}"' | |
+ powerline_segment=(${powerline_segments[$segment_index]}) | |
+ local powerline_segment | |
+ next_segment=(${powerline_segments[segment_index + 1]}) | |
+ local next_segment | |
+ '[' left == left ']' | |
+ powerline_segment[4]=235 | |
+ __segment_separator_is_thin | |
+ [[ â® == â® ]] | |
+ [[ â® == â® ]] | |
+ powerline_segment[5]=245 | |
+ local previous_background_color=245 | |
+ powerline_segments[$segment_index]='vcs_others 245 0 â® 235 245' | |
+ __process_powerline | |
+ for segment_index in '"${!powerline_segments[@]}"' | |
+ powerline_segment=(${powerline_segments[$segment_index]}) | |
+ local powerline_segment | |
+ local background_color=148 | |
+ local foreground_color=234 | |
+ local $'separator=â®\200' | |
+ local separator_background_color=33 | |
+ local separator_foreground_color=148 | |
+ eval '__print_left_segment 0 148 234 â® 33 148' | |
++ __print_left_segment 0 148 234 $'â®\200' 33 148 | |
++ local 'content= 0:0.0 ' | |
++ local content_background_color=148 | |
++ local content_foreground_color=234 | |
++ local $'separator=â®\200' | |
++ local separator_background_color=33 | |
++ local separator_foreground_color=148 | |
++ __print_colored_content ' 0:0.0 ' 148 234 | |
++ echo -n '#[fg=colour234, bg=colour148]' | |
++ echo -n ' 0:0.0 ' | |
++ echo -n '#[default]' | |
++ __print_colored_content $'â®\200' 33 148 | |
++ echo -n '#[fg=colour148, bg=colour33]' | |
++ echo -n $'â®\200' | |
++ echo -n '#[default]' | |
+ for segment_index in '"${!powerline_segments[@]}"' | |
+ powerline_segment=(${powerline_segments[$segment_index]}) | |
+ local powerline_segment | |
+ local background_color=33 | |
+ local foreground_color=0 | |
+ local $'separator=â®\200' | |
+ local separator_background_color=24 | |
+ local separator_foreground_color=33 | |
+ eval '__print_left_segment 1 33 0 â® 24 33' | |
++ __print_left_segment 1 33 0 $'â®\200' 24 33 | |
++ local 'content= daheim ' | |
++ local content_background_color=33 | |
++ local content_foreground_color=0 | |
++ local $'separator=â®\200' | |
++ local separator_background_color=24 | |
++ local separator_foreground_color=33 | |
++ __print_colored_content ' daheim ' 33 0 | |
++ echo -n '#[fg=colour0, bg=colour33]' | |
++ echo -n ' daheim ' | |
++ echo -n '#[default]' | |
++ __print_colored_content $'â®\200' 24 33 | |
++ echo -n '#[fg=colour33, bg=colour24]' | |
++ echo -n $'â®\200' | |
++ echo -n '#[default]' | |
+ for segment_index in '"${!powerline_segments[@]}"' | |
+ powerline_segment=(${powerline_segments[$segment_index]}) | |
+ local powerline_segment | |
+ local background_color=24 | |
+ local foreground_color=255 | |
+ local $'separator=â®\201' | |
+ local separator_background_color=24 | |
+ local separator_foreground_color=255 | |
+ eval '__print_left_segment 2 24 255 â® 24 255' | |
++ __print_left_segment 2 24 255 $'â®\201' 24 255 | |
++ local 'content= â 192.168.178.26 ' | |
++ local content_background_color=24 | |
++ local content_foreground_color=255 | |
++ local $'separator=â®\201' | |
++ local separator_background_color=24 | |
++ local separator_foreground_color=255 | |
++ __print_colored_content ' â 192.168.178.26 ' 24 255 | |
++ echo -n '#[fg=colour255, bg=colour24]' | |
++ echo -n ' â 192.168.178.26 ' | |
++ echo -n '#[default]' | |
++ __print_colored_content $'â®\201' 24 255 | |
++ echo -n '#[fg=colour255, bg=colour24]' | |
++ echo -n $'â®\201' | |
++ echo -n '#[default]' | |
+ for segment_index in '"${!powerline_segments[@]}"' | |
+ powerline_segment=(${powerline_segments[$segment_index]}) | |
+ local powerline_segment | |
+ local background_color=24 | |
+ local foreground_color=255 | |
+ local $'separator=â®\200' | |
+ local separator_background_color=29 | |
+ local separator_foreground_color=24 | |
+ eval '__print_left_segment 3 24 255 â® 29 24' | |
++ __print_left_segment 3 24 255 $'â®\200' 29 24 | |
++ local 'content= ⦠178.202.205.172 ' | |
++ local content_background_color=24 | |
++ local content_foreground_color=255 | |
++ local $'separator=â®\200' | |
++ local separator_background_color=29 | |
++ local separator_foreground_color=24 | |
++ __print_colored_content ' ⦠178.202.205.172 ' 24 255 | |
++ echo -n '#[fg=colour255, bg=colour24]' | |
++ echo -n ' ⦠178.202.205.172 ' | |
++ echo -n '#[default]' | |
++ __print_colored_content $'â®\200' 29 24 | |
++ echo -n '#[fg=colour24, bg=colour29]' | |
++ echo -n $'â®\200' | |
++ echo -n '#[default]' | |
+ for segment_index in '"${!powerline_segments[@]}"' | |
+ powerline_segment=(${powerline_segments[$segment_index]}) | |
+ local powerline_segment | |
+ local background_color=29 | |
+ local foreground_color=88 | |
+ local $'separator=â®\200' | |
+ local separator_background_color=235 | |
+ local separator_foreground_color=29 | |
+ eval '__print_left_segment 4 29 88 â® 235 29' | |
++ __print_left_segment 4 29 88 $'â®\200' 235 29 | |
++ local 'content= #[fg=colour5]â #[fg=colour88]master ' | |
++ local content_background_color=29 | |
++ local content_foreground_color=88 | |
++ local $'separator=â®\200' | |
++ local separator_background_color=235 | |
++ local separator_foreground_color=29 | |
++ __print_colored_content ' #[fg=colour5]â #[fg=colour88]master ' 29 88 | |
++ echo -n '#[fg=colour88, bg=colour29]' | |
++ echo -n ' #[fg=colour5]â #[fg=colour88]master ' | |
++ echo -n '#[default]' | |
++ __print_colored_content $'â®\200' 235 29 | |
++ echo -n '#[fg=colour29, bg=colour235]' | |
++ echo -n $'â®\200' | |
++ echo -n '#[default]' | |
+ for segment_index in '"${!powerline_segments[@]}"' | |
+ powerline_segment=(${powerline_segments[$segment_index]}) | |
+ local powerline_segment | |
+ local background_color=245 | |
+ local foreground_color=0 | |
+ local $'separator=â®\200' | |
+ local separator_background_color=235 | |
+ local separator_foreground_color=245 | |
+ eval '__print_left_segment 8 245 0 â® 235 245' | |
++ __print_left_segment 8 245 0 $'â®\200' 235 245 | |
++ local 'content= ⯠1 ' | |
++ local content_background_color=245 | |
++ local content_foreground_color=0 | |
++ local $'separator=â®\200' | |
++ local separator_background_color=235 | |
++ local separator_foreground_color=245 | |
++ __print_colored_content ' ⯠1 ' 245 0 | |
++ echo -n '#[fg=colour0, bg=colour245]' | |
++ echo -n ' ⯠1 ' | |
++ echo -n '#[default]' | |
++ __print_colored_content $'â®\200' 235 245 | |
++ echo -n '#[fg=colour245, bg=colour235]' | |
++ echo -n $'â®\200' | |
++ echo -n '#[default]' | |
+ exit 0 | |
right: | |
++ dirname powerline.sh | |
+ export TMUX_POWERLINE_DIR_HOME=. | |
+ TMUX_POWERLINE_DIR_HOME=. | |
+ source ./config/helpers.sh | |
+ source ./config/paths.sh | |
++ export TMUX_POWERLINE_DIR_LIB=./lib | |
++ TMUX_POWERLINE_DIR_LIB=./lib | |
++ export TMUX_POWERLINE_DIR_SEGMENTS=./segments | |
++ TMUX_POWERLINE_DIR_SEGMENTS=./segments | |
++ export TMUX_POWERLINE_DIR_TEMPORARY=/tmp/tmux-powerline | |
++ TMUX_POWERLINE_DIR_TEMPORARY=/tmp/tmux-powerline | |
++ export TMUX_POWERLINE_DIR_THEMES=./themes | |
++ TMUX_POWERLINE_DIR_THEMES=./themes | |
++ export TMUX_POWERLINE_RCFILE=/Users/me/.tmux-powerlinerc | |
++ TMUX_POWERLINE_RCFILE=/Users/me/.tmux-powerlinerc | |
++ export TMUX_POWERLINE_RCFILE_DEFAULT=/Users/me/.tmux-powerlinerc.default | |
++ TMUX_POWERLINE_RCFILE_DEFAULT=/Users/me/.tmux-powerlinerc.default | |
++ '[' '!' -d /tmp/tmux-powerline ']' | |
+ source ./config/shell.sh | |
++ export SHELL_PLATFORM=unknown | |
++ SHELL_PLATFORM=unknown | |
++ case "$OSTYPE" in | |
++ SHELL_PLATFORM=osx | |
++ export -f shell_is_linux | |
++ export -f shell_is_osx | |
++ export -f shell_is_bsd | |
+ source ./lib/arg_processing.sh | |
+ source ./lib/formatting.sh | |
+ source ./lib/muting.sh | |
+ source ./lib/powerline.sh | |
+ source ./lib/rcfile.sh | |
+ powerline_muted right | |
++ __powerline_mute_file right | |
+++ tmux display -p '#S' | |
<<<<<<< Local Changes | |
++ local tmux_session=0 | |
++ echo -n /tmp/tmux-powerline/mute_0_right | |
+ '[' -e /tmp/tmux-powerline/mute_0_right ']' | |
+ process_settings | |
+ __read_rcfile | |
+ '[' -f /Users/me/.tmux-powerlinerc ']' | |
+ source /Users/me/.tmux-powerlinerc | |
++ export TMUX_POWERLINE_DEBUG_MODE_ENABLED=true | |
++ TMUX_POWERLINE_DEBUG_MODE_ENABLED=true | |
++ export TMUX_POWERLINE_PATCHED_FONT_IN_USE=true | |
++ TMUX_POWERLINE_PATCHED_FONT_IN_USE=true | |
++ export TMUX_POWERLINE_THEME=default | |
++ TMUX_POWERLINE_THEME=default | |
++ export TMUX_POWERLINE_DIR_USER_THEMES= | |
++ TMUX_POWERLINE_DIR_USER_THEMES= | |
++ export TMUX_POWERLINE_DIR_USER_SEGMENTS= | |
++ TMUX_POWERLINE_DIR_USER_SEGMENTS= | |
++ export TMUX_POWERLINE_SEG_BATTERY_TYPE=percentage | |
++ TMUX_POWERLINE_SEG_BATTERY_TYPE=percentage | |
++ export TMUX_POWERLINE_SEG_BATTERY_NUM_HEARTS=5 | |
++ TMUX_POWERLINE_SEG_BATTERY_NUM_HEARTS=5 | |
++ export TMUX_POWERLINE_SEG_NOW_PLAYING_MAX_LEN=40 | |
++ TMUX_POWERLINE_SEG_NOW_PLAYING_MAX_LEN=40 | |
++ export TMUX_POWERLINE_SEG_PWD_MAX_LEN=40 | |
++ TMUX_POWERLINE_SEG_PWD_MAX_LEN=40 | |
++ export TMUX_POWERLINE_SEG_WEATHER_DATA_PROVIDER=yahoo | |
++ TMUX_POWERLINE_SEG_WEATHER_DATA_PROVIDER=yahoo | |
++ export TMUX_POWERLINE_SEG_WEATHER_UNIT=c | |
++ TMUX_POWERLINE_SEG_WEATHER_UNIT=c | |
++ export TMUX_POWERLINE_SEG_WEATHER_UPDATE_PERIOD=600 | |
++ TMUX_POWERLINE_SEG_WEATHER_UPDATE_PERIOD=600 | |
++ export TMUX_POWERLINE_SEG_WEATHER_LOCATION=638806 | |
++ TMUX_POWERLINE_SEG_WEATHER_LOCATION=638806 | |
+ '[' -z true ']' | |
+ '[' -z true ']' | |
+ '[' -z default ']' | |
+ '[' -n '' ']' | |
+ source ./themes/default.sh | |
++ patched_font_in_use | |
++ '[' -z true -o true '!=' false ']' | |
++ TMUX_POWERLINE_SEPARATOR_LEFT_BOLD=$'â®\202' | |
++ TMUX_POWERLINE_SEPARATOR_LEFT_THIN=$'â®\203' | |
++ TMUX_POWERLINE_SEPARATOR_RIGHT_BOLD=$'â®\200' | |
++ TMUX_POWERLINE_SEPARATOR_RIGHT_THIN=$'â®\201' | |
++ TMUX_POWERLINE_DEFAULT_BACKGROUND_COLOR=235 | |
++ TMUX_POWERLINE_DEFAULT_FOREGROUND_COLOR=255 | |
++ TMUX_POWERLINE_DEFAULT_LEFTSIDE_SEPARATOR=$'â®\200' | |
++ TMUX_POWERLINE_DEFAULT_RIGHTSIDE_SEPARATOR=$'â®\202' | |
++ '[' -z ']' | |
++ TMUX_POWERLINE_LEFT_STATUS_SEGMENTS=("tmux_session_info 148 234" "hostname 33 0" "lan_ip 24 255 ${TMUX_POWERLINE_SEPARATOR_RIGHT_THIN}" "wan_ip 24 255" "vcs_branch 29 88" "vcs_compare 60 255" "vcs_staged 64 255" "vcs_modified 9 255" "vcs_others 245 0") | |
++ '[' -z ']' | |
++ TMUX_POWERLINE_RIGHT_STATUS_SEGMENTS=("pwd 89 211" "mail_count 9 255" "now_playing 234 37" "load 237 167" "battery 137 127" "weather 37 255" "date_day 235 136" "date_full 235 136 ${TMUX_POWERLINE_SEPARATOR_LEFT_THIN}" "time 235 136 ${TMUX_POWERLINE_SEPARATOR_LEFT_THIN}") | |
+ check_arg_side right | |
+ local side=right | |
+ '[' right == left -o right == right ']' | |
+ print_powerline right | |
+ local side=right | |
+ eval 'local input_segments=("${TMUX_POWERLINE_RIGHT_STATUS_SEGMENTS[@]}")' | |
++ input_segments=("${TMUX_POWERLINE_RIGHT_STATUS_SEGMENTS[@]}") | |
++ local input_segments | |
+ powerline_segments=() | |
+ local powerline_segments | |
+ powerline_segment_contents=() | |
+ local powerline_segment_contents | |
+ __check_platform | |
+ '[' osx == unknown ']' | |
+ __process_segment_defaults | |
+ for segment_index in '"${!input_segments[@]}"' | |
+ input_segment=(${input_segments[$segment_index]}) | |
+ local input_segment | |
+ eval 'local default_separator=$TMUX_POWERLINE_DEFAULT_RIGHTSIDE_SEPARATOR' | |
++ local $'default_separator=â®\202' | |
+ powerline_segment_with_defaults=(${input_segment[0]:-"no_script"} ${input_segment[1]:-$TMUX_POWERLINE_DEFAULT_BACKGROUND_COLOR} ${input_segment[2]:-$TMUX_POWERLINE_DEFAULT_FOREGROUND_COLOR} ${input_segment[3]:-$default_separator}) | |
+ powerline_segments[$segment_index]='pwd 89 211 â®' | |
+ for segment_index in '"${!input_segments[@]}"' | |
+ input_segment=(${input_segments[$segment_index]}) | |
+ local input_segment | |
+ eval 'local default_separator=$TMUX_POWERLINE_DEFAULT_RIGHTSIDE_SEPARATOR' | |
++ local $'default_separator=â®\202' | |
+ powerline_segment_with_defaults=(${input_segment[0]:-"no_script"} ${input_segment[1]:-$TMUX_POWERLINE_DEFAULT_BACKGROUND_COLOR} ${input_segment[2]:-$TMUX_POWERLINE_DEFAULT_FOREGROUND_COLOR} ${input_segment[3]:-$default_separator}) | |
+ powerline_segments[$segment_index]='mail_count 9 255 â®' | |
+ for segment_index in '"${!input_segments[@]}"' | |
+ input_segment=(${input_segments[$segment_index]}) | |
+ local input_segment | |
+ eval 'local default_separator=$TMUX_POWERLINE_DEFAULT_RIGHTSIDE_SEPARATOR' | |
++ local $'default_separator=â®\202' | |
+ powerline_segment_with_defaults=(${input_segment[0]:-"no_script"} ${input_segment[1]:-$TMUX_POWERLINE_DEFAULT_BACKGROUND_COLOR} ${input_segment[2]:-$TMUX_POWERLINE_DEFAULT_FOREGROUND_COLOR} ${input_segment[3]:-$default_separator}) | |
+ powerline_segments[$segment_index]='now_playing 234 37 â®' | |
+ for segment_index in '"${!input_segments[@]}"' | |
+ input_segment=(${input_segments[$segment_index]}) | |
+ local input_segment | |
+ eval 'local default_separator=$TMUX_POWERLINE_DEFAULT_RIGHTSIDE_SEPARATOR' | |
++ local $'default_separator=â®\202' | |
+ powerline_segment_with_defaults=(${input_segment[0]:-"no_script"} ${input_segment[1]:-$TMUX_POWERLINE_DEFAULT_BACKGROUND_COLOR} ${input_segment[2]:-$TMUX_POWERLINE_DEFAULT_FOREGROUND_COLOR} ${input_segment[3]:-$default_separator}) | |
+ powerline_segments[$segment_index]='load 237 167 â®' | |
+ for segment_index in '"${!input_segments[@]}"' | |
+ input_segment=(${input_segments[$segment_index]}) | |
+ local input_segment | |
+ eval 'local default_separator=$TMUX_POWERLINE_DEFAULT_RIGHTSIDE_SEPARATOR' | |
++ local $'default_separator=â®\202' | |
+ powerline_segment_with_defaults=(${input_segment[0]:-"no_script"} ${input_segment[1]:-$TMUX_POWERLINE_DEFAULT_BACKGROUND_COLOR} ${input_segment[2]:-$TMUX_POWERLINE_DEFAULT_FOREGROUND_COLOR} ${input_segment[3]:-$default_separator}) | |
+ powerline_segments[$segment_index]='battery 137 127 â®' | |
+ for segment_index in '"${!input_segments[@]}"' | |
+ input_segment=(${input_segments[$segment_index]}) | |
+ local input_segment | |
+ eval 'local default_separator=$TMUX_POWERLINE_DEFAULT_RIGHTSIDE_SEPARATOR' | |
++ local $'default_separator=â®\202' | |
+ powerline_segment_with_defaults=(${input_segment[0]:-"no_script"} ${input_segment[1]:-$TMUX_POWERLINE_DEFAULT_BACKGROUND_COLOR} ${input_segment[2]:-$TMUX_POWERLINE_DEFAULT_FOREGROUND_COLOR} ${input_segment[3]:-$default_separator}) | |
+ powerline_segments[$segment_index]='weather 37 255 â®' | |
+ for segment_index in '"${!input_segments[@]}"' | |
+ input_segment=(${input_segments[$segment_index]}) | |
+ local input_segment | |
+ eval 'local default_separator=$TMUX_POWERLINE_DEFAULT_RIGHTSIDE_SEPARATOR' | |
++ local $'default_separator=â®\202' | |
+ powerline_segment_with_defaults=(${input_segment[0]:-"no_script"} ${input_segment[1]:-$TMUX_POWERLINE_DEFAULT_BACKGROUND_COLOR} ${input_segment[2]:-$TMUX_POWERLINE_DEFAULT_FOREGROUND_COLOR} ${input_segment[3]:-$default_separator}) | |
+ powerline_segments[$segment_index]='date_day 235 136 â®' | |
+ for segment_index in '"${!input_segments[@]}"' | |
+ input_segment=(${input_segments[$segment_index]}) | |
+ local input_segment | |
+ eval 'local default_separator=$TMUX_POWERLINE_DEFAULT_RIGHTSIDE_SEPARATOR' | |
++ local $'default_separator=â®\202' | |
+ powerline_segment_with_defaults=(${input_segment[0]:-"no_script"} ${input_segment[1]:-$TMUX_POWERLINE_DEFAULT_BACKGROUND_COLOR} ${input_segment[2]:-$TMUX_POWERLINE_DEFAULT_FOREGROUND_COLOR} ${input_segment[3]:-$default_separator}) | |
+ powerline_segments[$segment_index]='date_full 235 136 â®' | |
+ for segment_index in '"${!input_segments[@]}"' | |
+ input_segment=(${input_segments[$segment_index]}) | |
+ local input_segment | |
+ eval 'local default_separator=$TMUX_POWERLINE_DEFAULT_RIGHTSIDE_SEPARATOR' | |
++ local $'default_separator=â®\202' | |
+ powerline_segment_with_defaults=(${input_segment[0]:-"no_script"} ${input_segment[1]:-$TMUX_POWERLINE_DEFAULT_BACKGROUND_COLOR} ${input_segment[2]:-$TMUX_POWERLINE_DEFAULT_FOREGROUND_COLOR} ${input_segment[3]:-$default_separator}) | |
+ powerline_segments[$segment_index]='time 235 136 â®' | |
+ __process_scripts | |
+ for segment_index in '"${!powerline_segments[@]}"' | |
+ powerline_segment=(${powerline_segments[$segment_index]}) | |
+ local powerline_segment | |
+ '[' -n '' ']' | |
+ local script=./segments/pwd.sh | |
+ export TMUX_POWERLINE_CUR_SEGMENT_BG=89 | |
+ TMUX_POWERLINE_CUR_SEGMENT_BG=89 | |
+ export TMUX_POWERLINE_CUR_SEGMENT_FG=211 | |
+ TMUX_POWERLINE_CUR_SEGMENT_FG=211 | |
+ source ./segments/pwd.sh | |
++ source ./lib/tmux_adapter.sh | |
++ TMUX_POWERLINE_SEG_PWD_MAX_LEN_DEFAULT=40 | |
+ local output | |
++ run_segment | |
++ __process_settings | |
++ '[' -z 40 ']' | |
+++ get_tmux_cwd | |
++++ tmux display -p TMUXPWD_#D | |
++++ tr -d % | |
+++ local env_name=TMUXPWD_0 | |
++++ tmux show-environment | |
++++ grep --color=never TMUXPWD_0 | |
+++ local env_val= | |
+++ [[ ! '' =~ unknown variable ]] | |
++++ echo '' | |
++++ sed 's/^.*=//' | |
+++ local tmux_pwd= | |
+++ echo '' | |
++ tcwd= | |
++ trunc_symbol=··· | |
++ dir= | |
++ local max_len=40 | |
++ max_len=40 | |
++ ttcwd= | |
++ pwdoffset=-40 | |
++ '[' -40 -gt 0 ']' | |
++ echo '' | |
++ return 0 | |
+ output= | |
+ local exit_code=0 | |
+ unset -f run_segment | |
+ '[' 0 -ne 0 ']' | |
+ '[' -n '' ']' | |
+ unset -v 'powerline_segments[0]' | |
+ for segment_index in '"${!powerline_segments[@]}"' | |
+ powerline_segment=(${powerline_segments[$segment_index]}) | |
+ local powerline_segment | |
+ '[' -n '' ']' | |
+ local script=./segments/mail_count.sh | |
+ export TMUX_POWERLINE_CUR_SEGMENT_BG=9 | |
+ TMUX_POWERLINE_CUR_SEGMENT_BG=9 | |
+ export TMUX_POWERLINE_CUR_SEGMENT_FG=255 | |
+ TMUX_POWERLINE_CUR_SEGMENT_FG=255 | |
+ source ./segments/mail_count.sh | |
++ TMUX_POWERLINE_SEG_MAIL_COUNT_MAILBOX_TYPE_DEFAULT=maildir | |
+ local output | |
++ run_segment | |
++ __process_settings | |
++ '[' -z '' ']' | |
++ export TMUX_POWERLINE_SEG_MAIL_COUNT_MAILBOX_TYPE=maildir | |
++ TMUX_POWERLINE_SEG_MAIL_COUNT_MAILBOX_TYPE=maildir | |
++ script=./segments/mail_count_maildir.sh | |
++ [[ -f ./segments/mail_count_maildir.sh ]] | |
++ source ./segments/mail_count_maildir.sh | |
+++ TMUX_POWERLINE_SEG_MAILCOUNT_MAILDIR_INBOX_DEFAULT=/Users/zorro/.mail/inbox/new | |
+++ run_segment | |
+++ __process_settings | |
+++ '[' -z '' ']' | |
+++ export TMUX_POWERLINE_SEG_MAILCOUNT_MAILDIR_INBOX=/Users/zorro/.mail/inbox/new | |
+++ TMUX_POWERLINE_SEG_MAILCOUNT_MAILDIR_INBOX=/Users/zorro/.mail/inbox/new | |
++++ dirname powerline.sh | |
+++ cd . | |
+++ '[' '!' -d /Users/zorro/.mail/inbox/new ']' | |
+++ return 1 | |
++ count= | |
++ local exitcode=1 | |
++ '[' 1 -ne 0 ']' | |
++ return 1 | |
+ output= | |
+ local exit_code=1 | |
+ unset -f run_segment | |
<<<<<<< Local Changes | |
<<<<<<< Local Changes | |
<<<<<<< Local Changes | |
<<<<<<< Local Changes | |
<<<<<<< Local Changes | |
<<<<<<< Local Changes | |
<<<<<<< Local Changes | |
<<<<<<< Local Changes | |
<<<<<<< Local Changes | |
<<<<<<< Local Changes | |
<<<<<<< Local Changes | |
<<<<<<< Local Changes | |
<<<<<<< Local Changes | |
<<<<<<< Local Changes | |
<<<<<<< Local Changes | |
<<<<<<< Local Changes | |
<<<<<<< Local Changes | |
<<<<<<< Local Changes | |
<<<<<<< Local Changes | |
<<<<<<< Local Changes | |
<<<<<<< Local Changes | |
<<<<<<< Local Changes | |
<<<<<<< Local Changes | |
<<<<<<< Local Changes | |
<<<<<<< Local Changes | |
<<<<<<< Local Changes | |
<<<<<<< Local Changes | |
<<<<<<< Local Changes | |
<<<<<<< Local Changes | |
<<<<<<< Local Changes | |
<<<<<<< Local Changes | |
<<<<<<< Local Changes | |
<<<<<<< Local Changes | |
<<<<<<< Local Changes | |
+ '[' 0 -ne 0 ']' | |
+ '[' -n '⯠1' ']' | |
+ powerline_segment_contents[$segment_index]=' ⯠1 ' | |
+ __process_colors | |
+ for segment_index in '"${!powerline_segments[@]}"' | |
+ powerline_segment=(${powerline_segments[$segment_index]}) | |
+ local powerline_segment | |
+ next_segment=(${powerline_segments[segment_index + 1]}) | |
+ local next_segment | |
+ '[' left == left ']' | |
+ powerline_segment[4]=33 | |
+ __segment_separator_is_thin | |
+ [[ â® == â® ]] | |
+ [[ â® == â® ]] | |
+ powerline_segment[5]=148 | |
+ local previous_background_color=148 | |
+ powerline_segments[$segment_index]='tmux_session_info 148 234 â® 33 148' | |
+ for segment_index in '"${!powerline_segments[@]}"' | |
+ powerline_segment=(${powerline_segments[$segment_index]}) | |
+ local powerline_segment | |
+ next_segment=(${powerline_segments[segment_index + 1]}) | |
+ local next_segment | |
+ '[' left == left ']' | |
+ powerline_segment[4]=24 | |
+ __segment_separator_is_thin | |
+ [[ â® == â® ]] | |
+ [[ â® == â® ]] | |
+ powerline_segment[5]=33 | |
+ local previous_background_color=33 | |
+ powerline_segments[$segment_index]='hostname 33 0 â® 24 33' | |
+ for segment_index in '"${!powerline_segments[@]}"' | |
+ powerline_segment=(${powerline_segments[$segment_index]}) | |
+ local powerline_segment | |
+ next_segment=(${powerline_segments[segment_index + 1]}) | |
+ local next_segment | |
+ '[' left == left ']' | |
+ powerline_segment[4]=24 | |
+ __segment_separator_is_thin | |
+ [[ â® == â® ]] | |
+ [[ â® == â® ]] | |
+ powerline_segment[5]=255 | |
+ local previous_background_color=24 | |
+ powerline_segments[$segment_index]='lan_ip 24 255 â® 24 255' | |
+ for segment_index in '"${!powerline_segments[@]}"' | |
+ powerline_segment=(${powerline_segments[$segment_index]}) | |
+ local powerline_segment | |
+ next_segment=(${powerline_segments[segment_index + 1]}) | |
+ local next_segment | |
+ '[' left == left ']' | |
+ powerline_segment[4]=29 | |
+ __segment_separator_is_thin | |
+ [[ â® == â® ]] | |
+ [[ â® == â® ]] | |
+ powerline_segment[5]=24 | |
+ local previous_background_color=24 | |
+ powerline_segments[$segment_index]='wan_ip 24 255 â® 29 24' | |
+ for segment_index in '"${!powerline_segments[@]}"' | |
+ powerline_segment=(${powerline_segments[$segment_index]}) | |
+ local powerline_segment | |
+ next_segment=(${powerline_segments[segment_index + 1]}) | |
+ local next_segment | |
+ '[' left == left ']' | |
+ powerline_segment[4]=235 | |
+ __segment_separator_is_thin | |
+ [[ â® == â® ]] | |
+ [[ â® == â® ]] | |
+ powerline_segment[5]=29 | |
+ local previous_background_color=29 | |
+ powerline_segments[$segment_index]='vcs_branch 29 88 â® 235 29' | |
+ for segment_index in '"${!powerline_segments[@]}"' | |
+ powerline_segment=(${powerline_segments[$segment_index]}) | |
+ local powerline_segment | |
+ next_segment=(${powerline_segments[segment_index + 1]}) | |
+ local next_segment | |
+ '[' left == left ']' | |
+ powerline_segment[4]=235 | |
+ __segment_separator_is_thin | |
+ [[ â® == â® ]] | |
+ [[ â® == â® ]] | |
+ powerline_segment[5]=245 | |
+ local previous_background_color=245 | |
+ powerline_segments[$segment_index]='vcs_others 245 0 â® 235 245' | |
+ __process_powerline | |
+ for segment_index in '"${!powerline_segments[@]}"' | |
+ powerline_segment=(${powerline_segments[$segment_index]}) | |
+ local powerline_segment | |
+ local background_color=148 | |
+ local foreground_color=234 | |
+ local $'separator=â®\200' | |
+ local separator_background_color=33 | |
+ local separator_foreground_color=148 | |
+ eval '__print_left_segment 0 148 234 â® 33 148' | |
++ __print_left_segment 0 148 234 $'â®\200' 33 148 | |
++ local 'content= 0:0.0 ' | |
++ local content_background_color=148 | |
++ local content_foreground_color=234 | |
++ local $'separator=â®\200' | |
++ local separator_background_color=33 | |
++ local separator_foreground_color=148 | |
++ __print_colored_content ' 0:0.0 ' 148 234 | |
++ echo -n '#[fg=colour234, bg=colour148]' | |
++ echo -n ' 0:0.0 ' | |
++ echo -n '#[default]' | |
++ __print_colored_content $'â®\200' 33 148 | |
++ echo -n '#[fg=colour148, bg=colour33]' | |
++ echo -n $'â®\200' | |
++ echo -n '#[default]' | |
+ for segment_index in '"${!powerline_segments[@]}"' | |
+ powerline_segment=(${powerline_segments[$segment_index]}) | |
+ local powerline_segment | |
+ local background_color=33 | |
+ local foreground_color=0 | |
+ local $'separator=â®\200' | |
+ local separator_background_color=24 | |
+ local separator_foreground_color=33 | |
+ eval '__print_left_segment 1 33 0 â® 24 33' | |
++ __print_left_segment 1 33 0 $'â®\200' 24 33 | |
++ local 'content= daheim ' | |
++ local content_background_color=33 | |
++ local content_foreground_color=0 | |
++ local $'separator=â®\200' | |
++ local separator_background_color=24 | |
++ local separator_foreground_color=33 | |
++ __print_colored_content ' daheim ' 33 0 | |
++ echo -n '#[fg=colour0, bg=colour33]' | |
++ echo -n ' daheim ' | |
++ echo -n '#[default]' | |
++ __print_colored_content $'â®\200' 24 33 | |
++ echo -n '#[fg=colour33, bg=colour24]' | |
++ echo -n $'â®\200' | |
++ echo -n '#[default]' | |
+ for segment_index in '"${!powerline_segments[@]}"' | |
+ powerline_segment=(${powerline_segments[$segment_index]}) | |
+ local powerline_segment | |
+ local background_color=24 | |
+ local foreground_color=255 | |
+ local $'separator=â®\201' | |
+ local separator_background_color=24 | |
+ local separator_foreground_color=255 | |
+ eval '__print_left_segment 2 24 255 â® 24 255' | |
++ __print_left_segment 2 24 255 $'â®\201' 24 255 | |
++ local 'content= â 192.168.178.26 ' | |
++ local content_background_color=24 | |
++ local content_foreground_color=255 | |
++ local $'separator=â®\201' | |
++ local separator_background_color=24 | |
++ local separator_foreground_color=255 | |
++ __print_colored_content ' â 192.168.178.26 ' 24 255 | |
++ echo -n '#[fg=colour255, bg=colour24]' | |
++ echo -n ' â 192.168.178.26 ' | |
++ echo -n '#[default]' | |
++ __print_colored_content $'â®\201' 24 255 | |
++ echo -n '#[fg=colour255, bg=colour24]' | |
++ echo -n $'â®\201' | |
++ echo -n '#[default]' | |
+ for segment_index in '"${!powerline_segments[@]}"' | |
+ powerline_segment=(${powerline_segments[$segment_index]}) | |
+ local powerline_segment | |
+ local background_color=24 | |
+ local foreground_color=255 | |
+ local $'separator=â®\200' | |
+ local separator_background_color=29 | |
+ local separator_foreground_color=24 | |
+ eval '__print_left_segment 3 24 255 â® 29 24' | |
++ __print_left_segment 3 24 255 $'â®\200' 29 24 | |
++ local 'content= ⦠178.202.205.172 ' | |
++ local content_background_color=24 | |
++ local content_foreground_color=255 | |
++ local $'separator=â®\200' | |
++ local separator_background_color=29 | |
++ local separator_foreground_color=24 | |
++ __print_colored_content ' ⦠178.202.205.172 ' 24 255 | |
++ echo -n '#[fg=colour255, bg=colour24]' | |
++ echo -n ' ⦠178.202.205.172 ' | |
++ echo -n '#[default]' | |
++ __print_colored_content $'â®\200' 29 24 | |
++ echo -n '#[fg=colour24, bg=colour29]' | |
++ echo -n $'â®\200' | |
++ echo -n '#[default]' | |
+ for segment_index in '"${!powerline_segments[@]}"' | |
+ powerline_segment=(${powerline_segments[$segment_index]}) | |
+ local powerline_segment | |
+ local background_color=29 | |
+ local foreground_color=88 | |
+ local $'separator=â®\200' | |
+ local separator_background_color=235 | |
+ local separator_foreground_color=29 | |
+ eval '__print_left_segment 4 29 88 â® 235 29' | |
++ __print_left_segment 4 29 88 $'â®\200' 235 29 | |
++ local 'content= #[fg=colour5]â #[fg=colour88]master ' | |
++ local content_background_color=29 | |
++ local content_foreground_color=88 | |
++ local $'separator=â®\200' | |
++ local separator_background_color=235 | |
++ local separator_foreground_color=29 | |
++ __print_colored_content ' #[fg=colour5]â #[fg=colour88]master ' 29 88 | |
++ echo -n '#[fg=colour88, bg=colour29]' | |
++ echo -n ' #[fg=colour5]â #[fg=colour88]master ' | |
++ echo -n '#[default]' | |
++ __print_colored_content $'â®\200' 235 29 | |
++ echo -n '#[fg=colour29, bg=colour235]' | |
++ echo -n $'â®\200' | |
++ echo -n '#[default]' | |
+ for segment_index in '"${!powerline_segments[@]}"' | |
+ powerline_segment=(${powerline_segments[$segment_index]}) | |
+ local powerline_segment | |
+ local background_color=245 | |
+ local foreground_color=0 | |
+ local $'separator=â®\200' | |
+ local separator_background_color=235 | |
+ local separator_foreground_color=245 | |
+ eval '__print_left_segment 8 245 0 â® 235 245' | |
++ __print_left_segment 8 245 0 $'â®\200' 235 245 | |
++ local 'content= ⯠1 ' | |
++ local content_background_color=245 | |
++ local content_foreground_color=0 | |
++ local $'separator=â®\200' | |
++ local separator_background_color=235 | |
++ local separator_foreground_color=245 | |
++ __print_colored_content ' ⯠1 ' 245 0 | |
++ echo -n '#[fg=colour0, bg=colour245]' | |
++ echo -n ' ⯠1 ' | |
++ echo -n '#[default]' | |
++ __print_colored_content $'â®\200' 235 245 | |
++ echo -n '#[fg=colour245, bg=colour235]' | |
++ echo -n $'â®\200' | |
++ echo -n '#[default]' | |
+ exit 0 | |
======= | |
>>>>>>> External Changes | |
======= | |
+ '[' 1 -ne 0 ']' | |
+ debug_mode_enabled | |
+ '[' -n true -a true '!=' false ']' | |
+ local seg_name=mail_count.sh | |
+ echo 'Segment '\''mail_count.sh'\'' exited with code 1. Aborting.' | |
+ exit 1 | |
>>>>>>> External Changes | |
======= | |
+ '[' 1 -ne 0 ']' | |
+ debug_mode_enabled | |
+ '[' -n true -a true '!=' false ']' | |
+ local seg_name=mail_count.sh | |
+ echo 'Segment '\''mail_count.sh'\'' exited with code 1. Aborting.' | |
+ exit 1 | |
>>>>>>> External Changes | |
======= | |
+ '[' 1 -ne 0 ']' | |
+ debug_mode_enabled | |
+ '[' -n true -a true '!=' false ']' | |
+ local seg_name=mail_count.sh | |
+ echo 'Segment '\''mail_count.sh'\'' exited with code 1. Aborting.' | |
+ exit 1 | |
>>>>>>> External Changes | |
======= | |
+ '[' 1 -ne 0 ']' | |
+ debug_mode_enabled | |
+ '[' -n true -a true '!=' false ']' | |
+ local seg_name=mail_count.sh | |
+ echo 'Segment '\''mail_count.sh'\'' exited with code 1. Aborting.' | |
+ exit 1 | |
>>>>>>> External Changes | |
======= | |
+ '[' 1 -ne 0 ']' | |
+ debug_mode_enabled | |
+ '[' -n true -a true '!=' false ']' | |
+ local seg_name=mail_count.sh | |
+ echo 'Segment '\''mail_count.sh'\'' exited with code 1. Aborting.' | |
+ exit 1 | |
>>>>>>> External Changes | |
======= | |
+ '[' 1 -ne 0 ']' | |
+ debug_mode_enabled | |
+ '[' -n true -a true '!=' false ']' | |
+ local seg_name=mail_count.sh | |
+ echo 'Segment '\''mail_count.sh'\'' exited with code 1. Aborting.' | |
+ exit 1 | |
>>>>>>> External Changes | |
======= | |
+ '[' 1 -ne 0 ']' | |
+ debug_mode_enabled | |
+ '[' -n true -a true '!=' false ']' | |
+ local seg_name=mail_count.sh | |
+ echo 'Segment '\''mail_count.sh'\'' exited with code 1. Aborting.' | |
+ exit 1 | |
>>>>>>> External Changes | |
======= | |
+ '[' 1 -ne 0 ']' | |
+ debug_mode_enabled | |
+ '[' -n true -a true '!=' false ']' | |
+ local seg_name=mail_count.sh | |
+ echo 'Segment '\''mail_count.sh'\'' exited with code 1. Aborting.' | |
+ exit 1 | |
>>>>>>> External Changes | |
======= | |
+ '[' 1 -ne 0 ']' | |
+ debug_mode_enabled | |
+ '[' -n true -a true '!=' false ']' | |
+ local seg_name=mail_count.sh | |
+ echo 'Segment '\''mail_count.sh'\'' exited with code 1. Aborting.' | |
+ exit 1 | |
>>>>>>> External Changes | |
======= | |
+ '[' 1 -ne 0 ']' | |
+ debug_mode_enabled | |
+ '[' -n true -a true '!=' false ']' | |
+ local seg_name=mail_count.sh | |
+ echo 'Segment '\''mail_count.sh'\'' exited with code 1. Aborting.' | |
+ exit 1 | |
>>>>>>> External Changes | |
======= | |
+ '[' 1 -ne 0 ']' | |
+ debug_mode_enabled | |
+ '[' -n true -a true '!=' false ']' | |
+ local seg_name=mail_count.sh | |
+ echo 'Segment '\''mail_count.sh'\'' exited with code 1. Aborting.' | |
+ exit 1 | |
>>>>>>> External Changes | |
======= | |
+ '[' 1 -ne 0 ']' | |
+ debug_mode_enabled | |
+ '[' -n true -a true '!=' false ']' | |
+ local seg_name=mail_count.sh | |
+ echo 'Segment '\''mail_count.sh'\'' exited with code 1. Aborting.' | |
+ exit 1 | |
>>>>>>> External Changes | |
======= | |
+ '[' 1 -ne 0 ']' | |
+ debug_mode_enabled | |
+ '[' -n true -a true '!=' false ']' | |
+ local seg_name=mail_count.sh | |
+ echo 'Segment '\''mail_count.sh'\'' exited with code 1. Aborting.' | |
+ exit 1 | |
>>>>>>> External Changes | |
======= | |
+ '[' 1 -ne 0 ']' | |
+ debug_mode_enabled | |
+ '[' -n true -a true '!=' false ']' | |
+ local seg_name=mail_count.sh | |
+ echo 'Segment '\''mail_count.sh'\'' exited with code 1. Aborting.' | |
+ exit 1 | |
>>>>>>> External Changes | |
======= | |
+ '[' 1 -ne 0 ']' | |
+ debug_mode_enabled | |
+ '[' -n true -a true '!=' false ']' | |
+ local seg_name=mail_count.sh | |
+ echo 'Segment '\''mail_count.sh'\'' exited with code 1. Aborting.' | |
+ exit 1 | |
>>>>>>> External Changes | |
======= | |
+ '[' 1 -ne 0 ']' | |
+ debug_mode_enabled | |
+ '[' -n true -a true '!=' false ']' | |
+ local seg_name=mail_count.sh | |
+ echo 'Segment '\''mail_count.sh'\'' exited with code 1. Aborting.' | |
+ exit 1 | |
>>>>>>> External Changes | |
======= | |
+ '[' 1 -ne 0 ']' | |
+ debug_mode_enabled | |
+ '[' -n true -a true '!=' false ']' | |
+ local seg_name=mail_count.sh | |
+ echo 'Segment '\''mail_count.sh'\'' exited with code 1. Aborting.' | |
+ exit 1 | |
>>>>>>> External Changes | |
======= | |
+ '[' 1 -ne 0 ']' | |
+ debug_mode_enabled | |
+ '[' -n true -a true '!=' false ']' | |
+ local seg_name=mail_count.sh | |
+ echo 'Segment '\''mail_count.sh'\'' exited with code 1. Aborting.' | |
+ exit 1 | |
>>>>>>> External Changes | |
======= | |
+ '[' 1 -ne 0 ']' | |
+ debug_mode_enabled | |
+ '[' -n true -a true '!=' false ']' | |
+ local seg_name=mail_count.sh | |
+ echo 'Segment '\''mail_count.sh'\'' exited with code 1. Aborting.' | |
+ exit 1 | |
>>>>>>> External Changes | |
======= | |
+ '[' 1 -ne 0 ']' | |
+ debug_mode_enabled | |
+ '[' -n true -a true '!=' false ']' | |
+ local seg_name=mail_count.sh | |
+ echo 'Segment '\''mail_count.sh'\'' exited with code 1. Aborting.' | |
+ exit 1 | |
>>>>>>> External Changes | |
======= | |
+ '[' 1 -ne 0 ']' | |
+ debug_mode_enabled | |
+ '[' -n true -a true '!=' false ']' | |
+ local seg_name=mail_count.sh | |
+ echo 'Segment '\''mail_count.sh'\'' exited with code 1. Aborting.' | |
+ exit 1 | |
>>>>>>> External Changes | |
======= | |
+ '[' 1 -ne 0 ']' | |
+ debug_mode_enabled | |
+ '[' -n true -a true '!=' false ']' | |
+ local seg_name=mail_count.sh | |
+ echo 'Segment '\''mail_count.sh'\'' exited with code 1. Aborting.' | |
+ exit 1 | |
>>>>>>> External Changes | |
======= | |
+ '[' 1 -ne 0 ']' | |
+ debug_mode_enabled | |
+ '[' -n true -a true '!=' false ']' | |
+ local seg_name=mail_count.sh | |
+ echo 'Segment '\''mail_count.sh'\'' exited with code 1. Aborting.' | |
+ exit 1 | |
>>>>>>> External Changes | |
======= | |
+ '[' 1 -ne 0 ']' | |
+ debug_mode_enabled | |
+ '[' -n true -a true '!=' false ']' | |
+ local seg_name=mail_count.sh | |
+ echo 'Segment '\''mail_count.sh'\'' exited with code 1. Aborting.' | |
+ exit 1 | |
>>>>>>> External Changes | |
======= | |
+ '[' 1 -ne 0 ']' | |
+ debug_mode_enabled | |
+ '[' -n true -a true '!=' false ']' | |
+ local seg_name=mail_count.sh | |
+ echo 'Segment '\''mail_count.sh'\'' exited with code 1. Aborting.' | |
+ exit 1 | |
>>>>>>> External Changes | |
======= | |
+ '[' 1 -ne 0 ']' | |
+ debug_mode_enabled | |
+ '[' -n true -a true '!=' false ']' | |
+ local seg_name=mail_count.sh | |
+ echo 'Segment '\''mail_count.sh'\'' exited with code 1. Aborting.' | |
+ exit 1 | |
>>>>>>> External Changes | |
======= | |
+ '[' 1 -ne 0 ']' | |
+ debug_mode_enabled | |
+ '[' -n true -a true '!=' false ']' | |
+ local seg_name=mail_count.sh | |
+ echo 'Segment '\''mail_count.sh'\'' exited with code 1. Aborting.' | |
+ exit 1 | |
>>>>>>> External Changes | |
======= | |
+ '[' 1 -ne 0 ']' | |
+ debug_mode_enabled | |
+ '[' -n true -a true '!=' false ']' | |
+ local seg_name=mail_count.sh | |
+ echo 'Segment '\''mail_count.sh'\'' exited with code 1. Aborting.' | |
+ exit 1 | |
>>>>>>> External Changes | |
======= | |
+ '[' 1 -ne 0 ']' | |
+ debug_mode_enabled | |
+ '[' -n true -a true '!=' false ']' | |
+ local seg_name=mail_count.sh | |
+ echo 'Segment '\''mail_count.sh'\'' exited with code 1. Aborting.' | |
+ exit 1 | |
>>>>>>> External Changes | |
======= | |
+ '[' 1 -ne 0 ']' | |
+ debug_mode_enabled | |
+ '[' -n true -a true '!=' false ']' | |
+ local seg_name=mail_count.sh | |
+ echo 'Segment '\''mail_count.sh'\'' exited with code 1. Aborting.' | |
+ exit 1 | |
>>>>>>> External Changes | |
======= | |
+ '[' 1 -ne 0 ']' | |
+ debug_mode_enabled | |
+ '[' -n true -a true '!=' false ']' | |
+ local seg_name=mail_count.sh | |
+ echo 'Segment '\''mail_count.sh'\'' exited with code 1. Aborting.' | |
+ exit 1 | |
>>>>>>> External Changes | |
======= | |
+ '[' 1 -ne 0 ']' | |
+ debug_mode_enabled | |
+ '[' -n true -a true '!=' false ']' | |
+ local seg_name=mail_count.sh | |
+ echo 'Segment '\''mail_count.sh'\'' exited with code 1. Aborting.' | |
+ exit 1 | |
>>>>>>> External Changes | |
======= | |
+ '[' 1 -ne 0 ']' | |
+ debug_mode_enabled | |
+ '[' -n true -a true '!=' false ']' | |
+ local seg_name=mail_count.sh | |
+ echo 'Segment '\''mail_count.sh'\'' exited with code 1. Aborting.' | |
+ exit 1 | |
>>>>>>> External Changes | |
======= | |
+ '[' 1 -ne 0 ']' | |
+ debug_mode_enabled | |
+ '[' -n true -a true '!=' false ']' | |
+ local seg_name=mail_count.sh | |
+ echo 'Segment '\''mail_count.sh'\'' exited with code 1. Aborting.' | |
+ exit 1 | |
>>>>>>> External Changes | |
++ dirname powerline.sh
+ export TMUX_POWERLINE_DIR_HOME=.
+ TMUX_POWERLINE_DIR_HOME=.
+ source ./config/helpers.sh
+ source ./config/paths.sh
++ export TMUX_POWERLINE_DIR_LIB=./lib
++ TMUX_POWERLINE_DIR_LIB=./lib
++ export TMUX_POWERLINE_DIR_SEGMENTS=./segments
++ TMUX_POWERLINE_DIR_SEGMENTS=./segments
++ export TMUX_POWERLINE_DIR_TEMPORARY=/tmp/tmux-powerline
++ TMUX_POWERLINE_DIR_TEMPORARY=/tmp/tmux-powerline
++ export TMUX_POWERLINE_DIR_THEMES=./themes
++ TMUX_POWERLINE_DIR_THEMES=./themes
++ export TMUX_POWERLINE_RCFILE=/Users/me/.tmux-powerlinerc
++ TMUX_POWERLINE_RCFILE=/Users/me/.tmux-powerlinerc
++ export TMUX_POWERLINE_RCFILE_DEFAULT=/Users/me/.tmux-powerlinerc.default
++ TMUX_POWERLINE_RCFILE_DEFAULT=/Users/me/.tmux-powerlinerc.default
++ '[' '!' -d /tmp/tmux-powerline ']'
+ source ./config/shell.sh
++ export SHELL_PLATFORM=unknown
++ SHELL_PLATFORM=unknown
++ case "$OSTYPE" in
++ SHELL_PLATFORM=osx
++ export -f shell_is_linux
++ export -f shell_is_osx
++ export -f shell_is_bsd
+ source ./config/defaults.sh
++ export TMUX_POWERLINE_DEBUG_MODE_ENABLED_DEFAULT=false
++ TMUX_POWERLINE_DEBUG_MODE_ENABLED_DEFAULT=false
++ export TMUX_POWERLINE_PATCHED_FONT_IN_USE_DEFAULT=true
++ TMUX_POWERLINE_PATCHED_FONT_IN_USE_DEFAULT=true
++ export TMUX_POWERLINE_THEME_DEFAULT=default
++ TMUX_POWERLINE_THEME_DEFAULT=default
+ source ./lib/arg_processing.sh
+ source ./lib/formatting.sh
+ source ./lib/muting.sh
+ source ./lib/powerline.sh
+ source ./lib/rcfile.sh
+ powerline_muted right
++ __powerline_mute_file right
+++ tmux display -p '#S'
++ local tmux_session=0
++ echo -n /tmp/tmux-powerline/mute_0_right
+ '[' -e /tmp/tmux-powerline/mute_0_right ']'
+ process_settings
+ __read_rcfile
+ '[' -f /Users/me/.tmux-powerlinerc ']'
+ source /Users/me/.tmux-powerlinerc
++ export TMUX_POWERLINE_DEBUG_MODE_ENABLED=true
++ TMUX_POWERLINE_DEBUG_MODE_ENABLED=true
++ export TMUX_POWERLINE_PATCHED_FONT_IN_USE=true
++ TMUX_POWERLINE_PATCHED_FONT_IN_USE=true
++ export TMUX_POWERLINE_THEME=default
++ TMUX_POWERLINE_THEME=default
++ export TMUX_POWERLINE_DIR_USER_THEMES=
++ TMUX_POWERLINE_DIR_USER_THEMES=
++ export TMUX_POWERLINE_DIR_USER_SEGMENTS=
++ TMUX_POWERLINE_DIR_USER_SEGMENTS=
++ export TMUX_POWERLINE_SEG_BATTERY_TYPE=percentage
++ TMUX_POWERLINE_SEG_BATTERY_TYPE=percentage
++ export TMUX_POWERLINE_SEG_BATTERY_NUM_HEARTS=5
++ TMUX_POWERLINE_SEG_BATTERY_NUM_HEARTS=5
++ export TMUX_POWERLINE_SEG_PWD_MAX_LEN=40
++ TMUX_POWERLINE_SEG_PWD_MAX_LEN=40
++ export TMUX_POWERLINE_SEG_WEATHER_DATA_PROVIDER=yahoo
++ TMUX_POWERLINE_SEG_WEATHER_DATA_PROVIDER=yahoo
++ export TMUX_POWERLINE_SEG_WEATHER_UNIT=c
++ TMUX_POWERLINE_SEG_WEATHER_UNIT=c
++ export TMUX_POWERLINE_SEG_WEATHER_UPDATE_PERIOD=600
++ TMUX_POWERLINE_SEG_WEATHER_UPDATE_PERIOD=600
++ export TMUX_POWERLINE_SEG_WEATHER_LOCATION=638806
++ TMUX_POWERLINE_SEG_WEATHER_LOCATION=638806
+ '[' -z true ']'
+ '[' -z true ']'
+ '[' -z default ']'
+ '[' -n '' ']'
+ source ./themes/default.sh
++ patched_font_in_use
++ '[' -z true -o true '!=' false ']'
++ TMUX_POWERLINE_SEPARATOR_LEFT_BOLD=$'â®\202'
++ TMUX_POWERLINE_SEPARATOR_LEFT_THIN=$'â®\203'
++ TMUX_POWERLINE_SEPARATOR_RIGHT_BOLD=$'â®\200'
++ TMUX_POWERLINE_SEPARATOR_RIGHT_THIN=$'â®\201'
++ TMUX_POWERLINE_DEFAULT_BACKGROUND_COLOR=235
++ TMUX_POWERLINE_DEFAULT_FOREGROUND_COLOR=255
++ TMUX_POWERLINE_DEFAULT_LEFTSIDE_SEPARATOR=$'â®\200'
++ TMUX_POWERLINE_DEFAULT_RIGHTSIDE_SEPARATOR=$'â®\202'
++ '[' -z ']'
++ TMUX_POWERLINE_LEFT_STATUS_SEGMENTS=("tmux_session_info 148 234" "hostname 33 0" "lan_ip 24 255 ${TMUX_POWERLINE_SEPARATOR_RIGHT_THIN}" "wan_ip 24 255" "vcs_branch 29 88" "vcs_compare 60 255" "vcs_staged 64 255" "vcs_modified 9 255" "vcs_others 245 0")
++ '[' -z ']'
++ TMUX_POWERLINE_RIGHT_STATUS_SEGMENTS=("pwd 89 211" "mail_count 9 255" "now_playing 234 37" "load 237 167" "battery 137 127" "weather 37 255" "date_day 235 136" "date_full 235 136 ${TMUX_POWERLINE_SEPARATOR_LEFT_THIN}" "time 235 136 ${TMUX_POWERLINE_SEPARATOR_LEFT_THIN}")
+ check_arg_side right
+ local side=right
+ '[' right == left -o right == right ']'
+ print_powerline right
+ local side=right
+ eval 'local input_segments=("${TMUX_POWERLINE_RIGHT_STATUS_SEGMENTS[@]}")'
++ input_segments=("${TMUX_POWERLINE_RIGHT_STATUS_SEGMENTS[@]}")
++ local input_segments
+ powerline_segments=()
+ local powerline_segments
+ powerline_segment_contents=()
+ local powerline_segment_contents
+ __check_platform
+ '[' osx == unknown ']'
+ __process_segment_defaults
+ for segment_index in '"${!input_segments[@]}"'
+ input_segment=(${input_segments[$segment_index]})
+ local input_segment
+ eval 'local default_separator=$TMUX_POWERLINE_DEFAULT_RIGHTSIDE_SEPARATOR'
++ local $'default_separator=â®\202'
+ powerline_segment_with_defaults=(${input_segment[0]:-"no_script"} ${input_segment[1]:-$TMUX_POWERLINE_DEFAULT_BACKGROUND_COLOR} ${input_segment[2]:-$TMUX_POWERLINE_DEFAULT_FOREGROUND_COLOR} ${input_segment[3]:-$default_separator})
+ powerline_segments[$segment_index]='pwd 89 211 �'
+ for segment_index in '"${!input_segments[@]}"'
+ input_segment=(${input_segments[$segment_index]})
+ local input_segment
+ eval 'local default_separator=$TMUX_POWERLINE_DEFAULT_RIGHTSIDE_SEPARATOR'
++ local $'default_separator=â®\202'
+ powerline_segment_with_defaults=(${input_segment[0]:-"no_script"} ${input_segment[1]:-$TMUX_POWERLINE_DEFAULT_BACKGROUND_COLOR} ${input_segment[2]:-$TMUX_POWERLINE_DEFAULT_FOREGROUND_COLOR} ${input_segment[3]:-$default_separator})
+ powerline_segments[$segment_index]='mail_count 9 255 �'
+ for segment_index in '"${!input_segments[@]}"'
+ input_segment=(${input_segments[$segment_index]})
+ local input_segment
+ eval 'local default_separator=$TMUX_POWERLINE_DEFAULT_RIGHTSIDE_SEPARATOR'
++ local $'default_separator=â®\202'
+ powerline_segment_with_defaults=(${input_segment[0]:-"no_script"} ${input_segment[1]:-$TMUX_POWERLINE_DEFAULT_BACKGROUND_COLOR} ${input_segment[2]:-$TMUX_POWERLINE_DEFAULT_FOREGROUND_COLOR} ${input_segment[3]:-$default_separator})
+ powerline_segments[$segment_index]='now_playing 234 37 �'
+ for segment_index in '"${!input_segments[@]}"'
+ input_segment=(${input_segments[$segment_index]})
+ local input_segment
+ eval 'local default_separator=$TMUX_POWERLINE_DEFAULT_RIGHTSIDE_SEPARATOR'
++ local $'default_separator=â®\202'
+ powerline_segment_with_defaults=(${input_segment[0]:-"no_script"} ${input_segment[1]:-$TMUX_POWERLINE_DEFAULT_BACKGROUND_COLOR} ${input_segment[2]:-$TMUX_POWERLINE_DEFAULT_FOREGROUND_COLOR} ${input_segment[3]:-$default_separator})
+ powerline_segments[$segment_index]='load 237 167 �'
+ for segment_index in '"${!input_segments[@]}"'
+ input_segment=(${input_segments[$segment_index]})
+ local input_segment
+ eval 'local default_separator=$TMUX_POWERLINE_DEFAULT_RIGHTSIDE_SEPARATOR'
++ local $'default_separator=â®\202'
+ powerline_segment_with_defaults=(${input_segment[0]:-"no_script"} ${input_segment[1]:-$TMUX_POWERLINE_DEFAULT_BACKGROUND_COLOR} ${input_segment[2]:-$TMUX_POWERLINE_DEFAULT_FOREGROUND_COLOR} ${input_segment[3]:-$default_separator})
+ powerline_segments[$segment_index]='battery 137 127 �'
+ for segment_index in '"${!input_segments[@]}"'
+ input_segment=(${input_segments[$segment_index]})
+ local input_segment
+ eval 'local default_separator=$TMUX_POWERLINE_DEFAULT_RIGHTSIDE_SEPARATOR'
++ local $'default_separator=â®\202'
+ powerline_segment_with_defaults=(${input_segment[0]:-"no_script"} ${input_segment[1]:-$TMUX_POWERLINE_DEFAULT_BACKGROUND_COLOR} ${input_segment[2]:-$TMUX_POWERLINE_DEFAULT_FOREGROUND_COLOR} ${input_segment[3]:-$default_separator})
+ powerline_segments[$segment_index]='weather 37 255 �'
+ for segment_index in '"${!input_segments[@]}"'
+ input_segment=(${input_segments[$segment_index]})
+ local input_segment
+ eval 'local default_separator=$TMUX_POWERLINE_DEFAULT_RIGHTSIDE_SEPARATOR'
++ local $'default_separator=â®\202'
+ powerline_segment_with_defaults=(${input_segment[0]:-"no_script"} ${input_segment[1]:-$TMUX_POWERLINE_DEFAULT_BACKGROUND_COLOR} ${input_segment[2]:-$TMUX_POWERLINE_DEFAULT_FOREGROUND_COLOR} ${input_segment[3]:-$default_separator})
+ powerline_segments[$segment_index]='date_day 235 136 �'
+ for segment_index in '"${!input_segments[@]}"'
+ input_segment=(${input_segments[$segment_index]})
+ local input_segment
+ eval 'local default_separator=$TMUX_POWERLINE_DEFAULT_RIGHTSIDE_SEPARATOR'
++ local $'default_separator=â®\202'
+ powerline_segment_with_defaults=(${input_segment[0]:-"no_script"} ${input_segment[1]:-$TMUX_POWERLINE_DEFAULT_BACKGROUND_COLOR} ${input_segment[2]:-$TMUX_POWERLINE_DEFAULT_FOREGROUND_COLOR} ${input_segment[3]:-$default_separator})
+ powerline_segments[$segment_index]='date_full 235 136 �'
+ for segment_index in '"${!input_segments[@]}"'
+ input_segment=(${input_segments[$segment_index]})
+ local input_segment
+ eval 'local default_separator=$TMUX_POWERLINE_DEFAULT_RIGHTSIDE_SEPARATOR'
++ local $'default_separator=â®\202'
+ powerline_segment_with_defaults=(${input_segment[0]:-"no_script"} ${input_segment[1]:-$TMUX_POWERLINE_DEFAULT_BACKGROUND_COLOR} ${input_segment[2]:-$TMUX_POWERLINE_DEFAULT_FOREGROUND_COLOR} ${input_segment[3]:-$default_separator})
+ powerline_segments[$segment_index]='time 235 136 �'
+ __process_scripts
+ for segment_index in '"${!powerline_segments[@]}"'
+ powerline_segment=(${powerline_segments[$segment_index]})
+ local powerline_segment
+ '[' -n '' ']'
+ local script=./segments/pwd.sh
+ export TMUX_POWERLINE_CUR_SEGMENT_BG=89
+ TMUX_POWERLINE_CUR_SEGMENT_BG=89
+ export TMUX_POWERLINE_CUR_SEGMENT_FG=211
+ TMUX_POWERLINE_CUR_SEGMENT_FG=211
+ source ./segments/pwd.sh
++ source ./lib/tmux_adapter.sh
++ TMUX_POWERLINE_SEG_PWD_MAX_LEN_DEFAULT=40
+ local output
++ run_segment
++ __process_settings
++ '[' -z 40 ']'
+++ get_tmux_cwd
++++ tmux display -p TMUXPWD_#D
++++ tr -d %
+++ local env_name=TMUXPWD_0
++++ tmux show-environment
++++ grep --color=never TMUXPWD_0
+++ local env_val=
+++ [[ ! '' =~ unknown variable ]]
++++ echo ''
++++ sed 's/^.*=//'
+++ local tmux_pwd=
+++ echo ''
++ tcwd=
++ trunc_symbol=···
++ dir=
++ local max_len=40
++ max_len=40
++ ttcwd=
++ pwdoffset=-40
++ '[' -40 -gt 0 ']'
++ echo ''
++ return 0
+ output=
+ local exit_code=0
+ unset -f run_segment
+ '[' 0 -ne 0 ']'
+ '[' -n '' ']'
+ unset -v 'powerline_segments[0]'
+ for segment_index in '"${!powerline_segments[@]}"'
+ powerline_segment=(${powerline_segments[$segment_index]})
+ local powerline_segment
+ '[' -n '' ']'
+ local script=./segments/mail_count.sh
+ export TMUX_POWERLINE_CUR_SEGMENT_BG=9
+ TMUX_POWERLINE_CUR_SEGMENT_BG=9
+ export TMUX_POWERLINE_CUR_SEGMENT_FG=255
+ TMUX_POWERLINE_CUR_SEGMENT_FG=255
+ source ./segments/mail_count.sh
++ TMUX_POWERLINE_SEG_MAIL_COUNT_MAILBOX_TYPE_DEFAULT=maildir
+ local output
++ run_segment
++ __process_settings
++ '[' -z '' ']'
++ export TMUX_POWERLINE_SEG_MAIL_COUNT_MAILBOX_TYPE=maildir
++ TMUX_POWERLINE_SEG_MAIL_COUNT_MAILBOX_TYPE=maildir
++ script=./segments/mail_count_maildir.sh
++ [[ -f ./segments/mail_count_maildir.sh ]]
++ source ./segments/mail_count_maildir.sh
+++ TMUX_POWERLINE_SEG_MAILCOUNT_MAILDIR_INBOX_DEFAULT=/Users/me/.mail/inbox/new
+++ run_segment
+++ __process_settings
+++ '[' -z '' ']'
+++ export TMUX_POWERLINE_SEG_MAILCOUNT_MAILDIR_INBOX=/Users/me/.mail/inbox/new
+++ TMUX_POWERLINE_SEG_MAILCOUNT_MAILDIR_INBOX=/Users/me/.mail/inbox/new
++++ dirname powerline.sh
+++ cd .
+++ '[' '!' -d /Users/me/.mail/inbox/new ']'
++++ ls /Users/me/.mail/inbox/new
++++ wc -l
+++ nbr_new=' 0'
+++ shell_is_osx
+++ [[ osx == \o\s\x ]]
++++ echo ' 0'
++++ sed -e 's/^[ \t]*//'
+++ nbr_new=0
+++ '[' 0 -gt 0 ']'
+++ return 0
++ count=
++ local exitcode=0
++ '[' 0 -ne 0 ']'
++ echo ''
++ return 0
+ output=
+ local exit_code=0
+ unset -f run_segment
+ '[' 0 -ne 0 ']'
+ '[' -n '' ']'
+ unset -v 'powerline_segments[1]'
+ for segment_index in '"${!powerline_segments[@]}"'
+ powerline_segment=(${powerline_segments[$segment_index]})
+ local powerline_segment
+ '[' -n '' ']'
+ local script=./segments/now_playing.sh
+ export TMUX_POWERLINE_CUR_SEGMENT_BG=234
+ TMUX_POWERLINE_CUR_SEGMENT_BG=234
+ export TMUX_POWERLINE_CUR_SEGMENT_FG=37
+ TMUX_POWERLINE_CUR_SEGMENT_FG=37
+ source ./segments/now_playing.sh
++ source ./lib/text_roll.sh
++ TMUX_POWERLINE_SEG_NOW_PLAYING_MUSIC_PLAYER_DEFAULT=mpd
++ TMUX_POWERLINE_SEG_NOW_PLAYING_MAX_LEN_DEFAULT=40
++ TMUX_POWERLINE_SEG_NOW_PLAYING_TRIM_METHOD_DEFAULT=trim
++ TMUX_POWERLINE_SEG_NOW_PLAYING_ROLL_SPEED_DEFAULT=2
++ TMUX_POWERLINE_SEG_NOW_PLAYING_MPD_HOST_DEFAULT=localhost
++ TMUX_POWERLINE_SEG_NOW_PLAYING_MPD_PORT_DEFAULT=6600
++ TMUX_POWERLINE_SEG_NOW_PLAYING_LASTFM_UPDATE_PERIOD_DEFAULT=30
++ lastfm_tmp_file=/tmp/tmux-powerline/np_lastfm.txt
+ local output
++ run_segment
++ __process_settings
++ '[' -z '' ']'
++ export TMUX_POWERLINE_SEG_NOW_PLAYING_MUSIC_PLAYER=mpd
++ TMUX_POWERLINE_SEG_NOW_PLAYING_MUSIC_PLAYER=mpd
++ '[' -z '' ']'
++ export TMUX_POWERLINE_SEG_NOW_PLAYING_MAX_LEN=40
++ TMUX_POWERLINE_SEG_NOW_PLAYING_MAX_LEN=40
++ '[' -z '' ']'
++ export TMUX_POWERLINE_SEG_NOW_PLAYING_TRIM_METHOD=trim
++ TMUX_POWERLINE_SEG_NOW_PLAYING_TRIM_METHOD=trim
++ '[' -z '' ']'
++ export TMUX_POWERLINE_SEG_NOW_PLAYING_ROLL_SPEED=2
++ TMUX_POWERLINE_SEG_NOW_PLAYING_ROLL_SPEED=2
++ '[' -z '' ']'
++ export TMUX_POWERLINE_SEG_NOW_PLAYING_MPD_HOST=localhost
++ TMUX_POWERLINE_SEG_NOW_PLAYING_MPD_HOST=localhost
++ '[' -z '' ']'
++ export TMUX_POWERLINE_SEG_NOW_PLAYING_MPD_PORT=6600
++ TMUX_POWERLINE_SEG_NOW_PLAYING_MPD_PORT=6600
++ '[' -z '' ']'
++ export TMUX_POWERLINE_SEG_NOW_PLAYING_LASTFM_UPDATE_PERIOD=30
++ TMUX_POWERLINE_SEG_NOW_PLAYING_LASTFM_UPDATE_PERIOD=30
++ local np
++ case "$TMUX_POWERLINE_SEG_NOW_PLAYING_MUSIC_PLAYER" in
+++ __np_mpd
+++ cd ./segments
+++ '[' '!' -x np_mpd ']'
+++ make clean np_mpd
++++ MPD_HOST=localhost
++++ MPD_PORT=6600
++++ ./np_mpd
./segments/now_playing.sh: Zeile 105: ./np_mpd: No such file or directory
+++ np=
+++ echo ''
++ np=
++ local exitcode=0
++ '[' 0 -ne 0 ']'
++ '[' -n '' ']'
++ return 0
+ output=
+ local exit_code=0
+ unset -f run_segment
+ '[' 0 -ne 0 ']'
+ '[' -n '' ']'
+ unset -v 'powerline_segments[2]'
+ for segment_index in '"${!powerline_segments[@]}"'
+ powerline_segment=(${powerline_segments[$segment_index]})
+ local powerline_segment
+ '[' -n '' ']'
+ local script=./segments/load.sh
+ export TMUX_POWERLINE_CUR_SEGMENT_BG=237
+ TMUX_POWERLINE_CUR_SEGMENT_BG=237
+ export TMUX_POWERLINE_CUR_SEGMENT_FG=167
+ TMUX_POWERLINE_CUR_SEGMENT_FG=167
+ source ./segments/load.sh
+ local output
++ run_segment
++ uptime
++ cut -d , -f 3-
++ cut -d : -f2
++ sed -e 's/^[ \t]*//'
++ exit 0
+ output='0,91 1,12 1,27'
+ local exit_code=0
+ unset -f run_segment
+ '[' 0 -ne 0 ']'
+ '[' -n '0,91 1,12 1,27' ']'
+ powerline_segment_contents[$segment_index]=' 0,91 1,12 1,27 '
+ for segment_index in '"${!powerline_segments[@]}"'
+ powerline_segment=(${powerline_segments[$segment_index]})
+ local powerline_segment
+ '[' -n '' ']'
+ local script=./segments/battery.sh
+ export TMUX_POWERLINE_CUR_SEGMENT_BG=137
+ TMUX_POWERLINE_CUR_SEGMENT_BG=137
+ export TMUX_POWERLINE_CUR_SEGMENT_FG=127
+ TMUX_POWERLINE_CUR_SEGMENT_FG=127
+ source ./segments/battery.sh
++ TMUX_POWERLINE_SEG_BATTERY_TYPE_DEFAULT=percentage
++ TMUX_POWERLINE_SEG_BATTERY_NUM_HEARTS_DEFAULT=5
++ HEART_FULL=$'â\231¥'
++ HEART_EMPTY=$'â\231¡'
+ local output
++ run_segment
++ __process_settings
++ '[' -z percentage ']'
++ '[' -z 5 ']'
++ shell_is_osx
++ [[ osx == \o\s\x ]]
+++ __battery_osx
+++ ioreg -c AppleSmartBattery -w0
+++ grep -o '"[^"]*" = [^ ]*'
+++ sort
+++ sed -e 's/= //g' -e 's/"//g'
+++ read key value
+++ case $key in
+++ [[ -n '' ]]
+++ read key value
+++ case $key in
+++ [[ -n '' ]]
+++ read key value
+++ case $key in
+++ [[ -n '' ]]
+++ read key value
+++ case $key in
+++ [[ -n '' ]]
+++ read key value
+++ case $key in
+++ [[ -n '' ]]
+++ read key value
+++ case $key in
+++ [[ -n '' ]]
+++ read key value
+++ case $key in
+++ [[ -n '' ]]
+++ read key value
+++ case $key in
+++ export curcap=4173
+++ curcap=4173
+++ [[ -n '' ]]
+++ read key value
+++ case $key in
+++ [[ -n '' ]]
+++ read key value
+++ case $key in
+++ [[ -n '' ]]
+++ read key value
+++ case $key in
+++ [[ -n '' ]]
+++ read key value
+++ case $key in
+++ [[ -n '' ]]
+++ read key value
+++ case $key in
+++ export extconnect=Yes
+++ extconnect=Yes
+++ [[ -n '' ]]
+++ read key value
+++ case $key in
+++ [[ -n '' ]]
+++ read key value
+++ case $key in
+++ [[ -n '' ]]
+++ read key value
+++ case $key in
+++ [[ -n '' ]]
+++ read key value
+++ case $key in
+++ [[ -n '' ]]
+++ read key value
+++ case $key in
+++ [[ -n '' ]]
+++ read key value
+++ case $key in
+++ [[ -n '' ]]
+++ read key value
+++ case $key in
+++ [[ -n '' ]]
+++ read key value
+++ case $key in
+++ [[ -n '' ]]
+++ read key value
+++ case $key in
+++ [[ -n '' ]]
+++ read key value
+++ case $key in
+++ [[ -n '' ]]
+++ read key value
+++ case $key in
+++ [[ -n '' ]]
+++ read key value
+++ case $key in
+++ export maxcap=4173
+++ maxcap=4173
+++ [[ -n 4173 ]]
+++ [[ -n 4173 ]]
+++ [[ -n Yes ]]
+++ [[ 4173 == \4\1\7\3 ]]
+++ return
++ battery_status=
++ '[' -z '' ']'
++ return
+ output=
+ local exit_code=0
+ unset -f run_segment
+ '[' 0 -ne 0 ']'
+ '[' -n '' ']'
+ unset -v 'powerline_segments[4]'
+ for segment_index in '"${!powerline_segments[@]}"'
+ powerline_segment=(${powerline_segments[$segment_index]})
+ local powerline_segment
+ '[' -n '' ']'
+ local script=./segments/weather.sh
+ export TMUX_POWERLINE_CUR_SEGMENT_BG=37
+ TMUX_POWERLINE_CUR_SEGMENT_BG=37
+ export TMUX_POWERLINE_CUR_SEGMENT_FG=255
+ TMUX_POWERLINE_CUR_SEGMENT_FG=255
+ source ./segments/weather.sh
++ unit=f
++ update_period=600
++ TMUX_POWERLINE_SEG_WEATHER_DATA_PROVIDER_DEFAULT=yahoo
++ TMUX_POWERLINE_SEG_WEATHER_UNIT_DEFAULT=c
++ TMUX_POWERLINE_SEG_WEATHER_UPDATE_PERIOD_DEFAULT=600
++ tmp_file=/tmp/tmux-powerline/weather_yahoo.txt
+ local output
++ run_segment
++ __process_settings
++ '[' -z yahoo ']'
++ '[' -z c ']'
++ '[' -z 600 ']'
++ local weather
++ case "$TMUX_POWERLINE_SEG_WEATHER_DATA_PROVIDER" in
+++ __yahoo_weather
+++ degree=
+++ '[' -f /tmp/tmux-powerline/weather_yahoo.txt ']'
+++ shell_is_osx
+++ [[ osx == \o\s\x ]]
++++ stat -f %m /tmp/tmux-powerline/weather_yahoo.txt
+++ last_update=1356903908
++++ date +%s
+++ time_now=1356903938
++++ echo '(1356903938-1356903908) < 600'
++++ bc
+++ up_to_date=1
+++ '[' 1 -eq 1 ']'
+++ __read_tmp_file
+++ '[' '!' -f /tmp/tmux-powerline/weather_yahoo.txt ']'
+++ IFS_bak='
'
+++ IFS='
'
+++ lines=($(cat ${tmp_file}))
++++ cat /tmp/tmux-powerline/weather_yahoo.txt
+++ IFS='
'
+++ degree=7
+++ condition='Mostly Cloudy'
+++ '[' -z 7 ']'
+++ '[' -n 7 ']'
+++ '[' c == k ']'
++++ __get_condition_symbol 'Mostly Cloudy'
+++++ echo 'Mostly Cloudy'
+++++ tr '[:upper:]' '[:lower:]'
++++ local 'condition=mostly cloudy'
++++ case "$condition" in
++++ echo $'â\230\201'
+++ condition_symbol=$'â\230\201'
+++ echo '� 7°C'
++ weather='� 7°C'
++ '[' -n '� 7°C' ']'
++ echo '� 7°C'
+ output='� 7°C'
+ local exit_code=0
+ unset -f run_segment
+ '[' 0 -ne 0 ']'
+ '[' -n '� 7°C' ']'
+ powerline_segment_contents[$segment_index]=' � 7°C '
+ for segment_index in '"${!powerline_segments[@]}"'
+ powerline_segment=(${powerline_segments[$segment_index]})
+ local powerline_segment
+ '[' -n '' ']'
+ local script=./segments/date_day.sh
+ export TMUX_POWERLINE_CUR_SEGMENT_BG=235
+ TMUX_POWERLINE_CUR_SEGMENT_BG=235
+ export TMUX_POWERLINE_CUR_SEGMENT_FG=136
+ TMUX_POWERLINE_CUR_SEGMENT_FG=136
+ source ./segments/date_day.sh
+ local output
++ run_segment
++ date +%a
++ return 0
+ output=So
+ local exit_code=0
+ unset -f run_segment
+ '[' 0 -ne 0 ']'
+ '[' -n So ']'
+ powerline_segment_contents[$segment_index]=' So '
+ for segment_index in '"${!powerline_segments[@]}"'
+ powerline_segment=(${powerline_segments[$segment_index]})
+ local powerline_segment
+ '[' -n '' ']'
+ local script=./segments/date_full.sh
+ export TMUX_POWERLINE_CUR_SEGMENT_BG=235
+ TMUX_POWERLINE_CUR_SEGMENT_BG=235
+ export TMUX_POWERLINE_CUR_SEGMENT_FG=136
+ TMUX_POWERLINE_CUR_SEGMENT_FG=136
+ source ./segments/date_full.sh
+ local output
++ run_segment
++ date +%F
++ return 0
+ output=2012-12-30
+ local exit_code=0
+ unset -f run_segment
+ '[' 0 -ne 0 ']'
+ '[' -n 2012-12-30 ']'
+ powerline_segment_contents[$segment_index]=' 2012-12-30 '
+ for segment_index in '"${!powerline_segments[@]}"'
+ powerline_segment=(${powerline_segments[$segment_index]})
+ local powerline_segment
+ '[' -n '' ']'
+ local script=./segments/time.sh
+ export TMUX_POWERLINE_CUR_SEGMENT_BG=235
+ TMUX_POWERLINE_CUR_SEGMENT_BG=235
+ export TMUX_POWERLINE_CUR_SEGMENT_FG=136
+ TMUX_POWERLINE_CUR_SEGMENT_FG=136
+ source ./segments/time.sh
+ local output
++ run_segment
++ date +%H:%M
++ return 0
+ output=22:45
+ local exit_code=0
+ unset -f run_segment
+ '[' 0 -ne 0 ']'
+ '[' -n 22:45 ']'
+ powerline_segment_contents[$segment_index]=' 22:45 '
+ __process_colors
+ for segment_index in '"${!powerline_segments[@]}"'
+ powerline_segment=(${powerline_segments[$segment_index]})
+ local powerline_segment
+ next_segment=(${powerline_segments[segment_index + 1]})
+ local next_segment
+ '[' right == left ']'
+ '[' right == right ']'
+ powerline_segment[4]=235
+ __segment_separator_is_thin
+ [[ � == � ]]
+ [[ � == � ]]
+ powerline_segment[5]=237
+ local previous_background_color=237
+ powerline_segments[$segment_index]='load 237 167 � 235 237'
+ for segment_index in '"${!powerline_segments[@]}"'
+ powerline_segment=(${powerline_segments[$segment_index]})
+ local powerline_segment
+ next_segment=(${powerline_segments[segment_index + 1]})
+ local next_segment
+ '[' right == left ']'
+ '[' right == right ']'
+ powerline_segment[4]=237
+ __segment_separator_is_thin
+ [[ � == � ]]
+ [[ � == � ]]
+ powerline_segment[5]=37
+ local previous_background_color=37
+ powerline_segments[$segment_index]='weather 37 255 � 237 37'
+ for segment_index in '"${!powerline_segments[@]}"'
+ powerline_segment=(${powerline_segments[$segment_index]})
+ local powerline_segment
+ next_segment=(${powerline_segments[segment_index + 1]})
+ local next_segment
+ '[' right == left ']'
+ '[' right == right ']'
+ powerline_segment[4]=37
+ __segment_separator_is_thin
+ [[ � == � ]]
+ [[ � == � ]]
+ powerline_segment[5]=235
+ local previous_background_color=235
+ powerline_segments[$segment_index]='date_day 235 136 � 37 235'
+ for segment_index in '"${!powerline_segments[@]}"'
+ powerline_segment=(${powerline_segments[$segment_index]})
+ local powerline_segment
+ next_segment=(${powerline_segments[segment_index + 1]})
+ local next_segment
+ '[' right == left ']'
+ '[' right == right ']'
+ powerline_segment[4]=235
+ __segment_separator_is_thin
+ [[ � == � ]]
+ powerline_segment[5]=136
+ local previous_background_color=235
+ powerline_segments[$segment_index]='date_full 235 136 � 235 136'
+ for segment_index in '"${!powerline_segments[@]}"'
+ powerline_segment=(${powerline_segments[$segment_index]})
+ local powerline_segment
+ next_segment=(${powerline_segments[segment_index + 1]})
+ local next_segment
+ '[' right == left ']'
+ '[' right == right ']'
+ powerline_segment[4]=235
+ __segment_separator_is_thin
+ [[ � == � ]]
+ powerline_segment[5]=136
+ local previous_background_color=235
+ powerline_segments[$segment_index]='time 235 136 � 235 136'
+ __process_powerline
+ for segment_index in '"${!powerline_segments[@]}"'
+ powerline_segment=(${powerline_segments[$segment_index]})
+ local powerline_segment
+ local background_color=237
+ local foreground_color=167
+ local $'separator=â®\202'
+ local separator_background_color=235
+ local separator_foreground_color=237
+ eval '__print_right_segment 3 237 167 � 235 237'
++ __print_right_segment 3 237 167 $'â®\202' 235 237
++ local 'content= 0,91 1,12 1,27 '
++ local content_background_color=237
++ local content_foreground_color=167
++ local $'separator=â®\202'
++ local separator_background_color=235
++ local separator_foreground_color=237
++ __print_colored_content $'â®\202' 235 237
++ echo -n '#[fg=colour237, bg=colour235]'
++ echo -n $'â®\202'
++ echo -n '#[default]'
++ __print_colored_content ' 0,91 1,12 1,27 ' 237 167
++ echo -n '#[fg=colour167, bg=colour237]'
++ echo -n ' 0,91 1,12 1,27 '
++ echo -n '#[default]'
+ for segment_index in '"${!powerline_segments[@]}"'
+ powerline_segment=(${powerline_segments[$segment_index]})
+ local powerline_segment
+ local background_color=37
+ local foreground_color=255
+ local $'separator=â®\202'
+ local separator_background_color=237
+ local separator_foreground_color=37
+ eval '__print_right_segment 5 37 255 � 237 37'
++ __print_right_segment 5 37 255 $'â®\202' 237 37
++ local 'content= � 7°C '
++ local content_background_color=37
++ local content_foreground_color=255
++ local $'separator=â®\202'
++ local separator_background_color=237
++ local separator_foreground_color=37
++ __print_colored_content $'â®\202' 237 37
++ echo -n '#[fg=colour37, bg=colour237]'
++ echo -n $'â®\202'
++ echo -n '#[default]'
++ __print_colored_content ' � 7°C ' 37 255
++ echo -n '#[fg=colour255, bg=colour37]'
++ echo -n ' � 7°C '
++ echo -n '#[default]'
+ for segment_index in '"${!powerline_segments[@]}"'
+ powerline_segment=(${powerline_segments[$segment_index]})
+ local powerline_segment
+ local background_color=235
+ local foreground_color=136
+ local $'separator=â®\202'
+ local separator_background_color=37
+ local separator_foreground_color=235
+ eval '__print_right_segment 6 235 136 � 37 235'
++ __print_right_segment 6 235 136 $'â®\202' 37 235
++ local 'content= So '
++ local content_background_color=235
++ local content_foreground_color=136
++ local $'separator=â®\202'
++ local separator_background_color=37
++ local separator_foreground_color=235
++ __print_colored_content $'â®\202' 37 235
++ echo -n '#[fg=colour235, bg=colour37]'
++ echo -n $'â®\202'
++ echo -n '#[default]'
++ __print_colored_content ' So ' 235 136
++ echo -n '#[fg=colour136, bg=colour235]'
++ echo -n ' So '
++ echo -n '#[default]'
+ for segment_index in '"${!powerline_segments[@]}"'
+ powerline_segment=(${powerline_segments[$segment_index]})
+ local powerline_segment
+ local background_color=235
+ local foreground_color=136
+ local $'separator=â®\203'
+ local separator_background_color=235
+ local separator_foreground_color=136
+ eval '__print_right_segment 7 235 136 � 235 136'
++ __print_right_segment 7 235 136 $'â®\203' 235 136
++ local 'content= 2012-12-30 '
++ local content_background_color=235
++ local content_foreground_color=136
++ local $'separator=â®\203'
++ local separator_background_color=235
++ local separator_foreground_color=136
++ __print_colored_content $'â®\203' 235 136
++ echo -n '#[fg=colour136, bg=colour235]'
++ echo -n $'â®\203'
++ echo -n '#[default]'
++ __print_colored_content ' 2012-12-30 ' 235 136
++ echo -n '#[fg=colour136, bg=colour235]'
++ echo -n ' 2012-12-30 '
++ echo -n '#[default]'
+ for segment_index in '"${!powerline_segments[@]}"'
+ powerline_segment=(${powerline_segments[$segment_index]})
+ local powerline_segment
+ local background_color=235
+ local foreground_color=136
+ local $'separator=â®\203'
+ local separator_background_color=235
+ local separator_foreground_color=136
+ eval '__print_right_segment 8 235 136 � 235 136'
++ __print_right_segment 8 235 136 $'â®\203' 235 136
++ local 'content= 22:45 '
++ local content_background_color=235
++ local content_foreground_color=136
++ local $'separator=â®\203'
++ local separator_background_color=235
++ local separator_foreground_color=136
++ __print_colored_content $'â®\203' 235 136
++ echo -n '#[fg=colour136, bg=colour235]'
++ echo -n $'â®\203'
++ echo -n '#[default]'
++ __print_colored_content ' 22:45 ' 235 136
++ echo -n '#[fg=colour136, bg=colour235]'
++ echo -n ' 22:45 '
++ echo -n '#[default]'
+ exit 0
set -g default-terminal "screen-256color"
set -g mode-mouse on
set-window-option -g mode-mouse on
# remap prefix to Control + a
set -g prefix C-a
unbind C-b
bind C-a send-prefix
set-option -g status on
set-option -g status-interval 2
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-left "#(~/tmux-powerline/powerline.sh left)"
set-option -g status-right "#(~/tmux-powerline/powerline.sh right)"
# force a reload of the config file
unbind r
bind r source-file ~/.tmux.conf
# quick pane cycling
#unbind A
#bind -r C-a select-pane -t :.+
# pane resizing
bind z swap-pane -D
bind u swap-pane -U
# Set status bar
#old settings
set -g status-bg colour8
set -g status-fg colour15
##set -g status-left '#[fg=green]#H'
# Highlight active window
set-window-option -g window-status-current-bg red
#set-option -g prefix C-q
bind | split-window -h
bind - split-window -v
# Sane scrolling
set -g terminal-overrides 'xterm*:smcup@:rmcup@'
# Pane movement
bind h select-pane -L
bind j select-pane -D
bind k select-pane -U
bind l select-pane -R
# Pane resizing
bind -r C-h resize-pane -L 5
bind -r C-j resize-pane -D 5
bind -r C-k resize-pane -U 5
bind -r C-l resize-pane -R 5
unbind ^up
unbind ^down
#pbcopy in tmux
set-option -g default-command "reattach-to-user-namespace -l bash"
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What output do you get if you run the following?