converted tabs to spaces. Closes #59
This commit is contained in:
parent
b0c3b6a09f
commit
cab561ad61
1 changed files with 43 additions and 43 deletions
86
.tmux.conf
86
.tmux.conf
|
@ -438,10 +438,10 @@ run 'cut -c3- ~/.tmux.conf | sh -s _apply_configuration'
|
|||
# username=$(ps -t "$tty" -o user= -o pid= -o ppid= -o command= | awk '
|
||||
# !/ssh/ { user[$2] = $1; ppid[$3] = 1 }
|
||||
# END {
|
||||
# for (i in user)
|
||||
# if (!(i in ppid))
|
||||
# for (i in user)
|
||||
# if (!(i in ppid))
|
||||
# {
|
||||
# print user[i]
|
||||
# print user[i]
|
||||
# exit
|
||||
# }
|
||||
# }
|
||||
|
@ -557,11 +557,11 @@ run 'cut -c3- ~/.tmux.conf | sh -s _apply_configuration'
|
|||
# tmux_conf_theme_24b_colour=${tmux_conf_theme_24b_colour:-false}
|
||||
# if _is_enabled "$tmux_conf_theme_24b_colour"; then
|
||||
# case "$TERM" in
|
||||
# screen-*|tmux-*)
|
||||
# ;;
|
||||
# *)
|
||||
# tmux set-option -ga terminal-overrides ",$TERM:Tc"
|
||||
# ;;
|
||||
# screen-*|tmux-*)
|
||||
# ;;
|
||||
# *)
|
||||
# tmux set-option -ga terminal-overrides ",$TERM:Tc"
|
||||
# ;;
|
||||
# esac
|
||||
# fi
|
||||
# }
|
||||
|
@ -859,53 +859,53 @@ run 'cut -c3- ~/.tmux.conf | sh -s _apply_configuration'
|
|||
# -v attr_="$tmux_conf_theme_status_right_attr" \
|
||||
# -v mainsep="$tmux_conf_theme_right_separator_main" \
|
||||
# -v subsep="$tmux_conf_theme_right_separator_sub" '
|
||||
# function subsplit(s, l, i, a, r)
|
||||
# {
|
||||
# l = split(s, a, ",")
|
||||
# for (i = 1; i <= l; ++i)
|
||||
# {
|
||||
# o = split(a[i], _, "(") - 1
|
||||
# c = split(a[i], _, ")") - 1
|
||||
# open += o - c
|
||||
# o_ = split(a[i], _, "{") - 1
|
||||
# c_ = split(a[i], _, "}") - 1
|
||||
# open_ += o_ - c_
|
||||
# function subsplit(s, l, i, a, r)
|
||||
# {
|
||||
# l = split(s, a, ",")
|
||||
# for (i = 1; i <= l; ++i)
|
||||
# {
|
||||
# o = split(a[i], _, "(") - 1
|
||||
# c = split(a[i], _, ")") - 1
|
||||
# open += o - c
|
||||
# o_ = split(a[i], _, "{") - 1
|
||||
# c_ = split(a[i], _, "}") - 1
|
||||
# open_ += o_ - c_
|
||||
# o__ = split(a[i], _, "[") - 1
|
||||
# c__ = split(a[i], _, "]") - 1
|
||||
# open__ += o__ - c__
|
||||
#
|
||||
# if (i == l)
|
||||
# r = sprintf("%s%s", r, a[i])
|
||||
# else if (open || open_ || open__)
|
||||
# r = sprintf("%s%s,", r, a[i])
|
||||
# else
|
||||
# r = sprintf("%s%s#[fg=%s,bg=%s,%s]%s", r, a[i], fg[j], bg[j], attr[j], subsep)
|
||||
# }
|
||||
# else if (open || open_ || open__)
|
||||
# r = sprintf("%s%s,", r, a[i])
|
||||
# else
|
||||
# r = sprintf("%s%s#[fg=%s,bg=%s,%s]%s", r, a[i], fg[j], bg[j], attr[j], subsep)
|
||||
# }
|
||||
#
|
||||
# gsub(/#\[inherit\]/, sprintf("#[default]#[fg=%s,bg=%s,%s]", fg[j], bg[j], attr[j]), r)
|
||||
# return r
|
||||
# }
|
||||
# BEGIN {
|
||||
# FS = "|"
|
||||
# l1 = split(fg_, fg, ",")
|
||||
# l2 = split(bg_, bg, ",")
|
||||
# l3 = split(attr_, attr, ",")
|
||||
# l = l1 < l2 ? (l1 < l3 ? l1 : l3) : (l2 < l3 ? l2 : l3)
|
||||
# }
|
||||
# {
|
||||
# for (i = j = 1; i <= NF; ++i)
|
||||
# {
|
||||
# if (open_ || open || open__)
|
||||
# printf "|%s", subsplit($i)
|
||||
# else
|
||||
# printf "#[fg=%s,bg=%s,none]%s#[fg=%s,bg=%s,%s]%s", bg[j], (i == 1) ? "default" : bg[j_], mainsep, fg[j], bg[j], attr[j], subsplit($i)
|
||||
# return r
|
||||
# }
|
||||
# BEGIN {
|
||||
# FS = "|"
|
||||
# l1 = split(fg_, fg, ",")
|
||||
# l2 = split(bg_, bg, ",")
|
||||
# l3 = split(attr_, attr, ",")
|
||||
# l = l1 < l2 ? (l1 < l3 ? l1 : l3) : (l2 < l3 ? l2 : l3)
|
||||
# }
|
||||
# {
|
||||
# for (i = j = 1; i <= NF; ++i)
|
||||
# {
|
||||
# if (open_ || open || open__)
|
||||
# printf "|%s", subsplit($i)
|
||||
# else
|
||||
# printf "#[fg=%s,bg=%s,none]%s#[fg=%s,bg=%s,%s]%s", bg[j], (i == 1) ? "default" : bg[j_], mainsep, fg[j], bg[j], attr[j], subsplit($i)
|
||||
#
|
||||
# if (!open && !open_ && !open__)
|
||||
# {
|
||||
# j_ = j
|
||||
# j = j % l + 1
|
||||
# }
|
||||
# }
|
||||
# j = j % l + 1
|
||||
# }
|
||||
# }
|
||||
# }' << EOF
|
||||
# $tmux_conf_theme_status_right
|
||||
# EOF
|
||||
|
|
Loading…
Reference in a new issue