Improved handling of fields that can be empty

This commit is contained in:
Bruno Sutic
2014-08-26 17:51:56 +02:00
parent c78a38803a
commit aa8f323b8b
2 changed files with 8 additions and 3 deletions

View File

@ -13,9 +13,9 @@ pane_format() {
format+="${delimiter}"
format+="#{window_index}"
format+="${delimiter}"
format+="#{pane_current_path}"
format+=":#{window_name}"
format+="${delimiter}"
format+="#{window_name}"
format+="#{pane_current_path}"
echo "$format"
}