File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change 6
6
- do not suggest using ` more ` program in the readme
7
7
- invoke ` less ` pager command in a subshell so that unsetting environment
8
8
variable via ` LESS= ` works in any shell
9
+ - bugfix: improve regex for fetching current directory sidebar width
9
10
10
11
### v0.7.0, Sep 05, 2014
11
12
- bugfix: invalid params for 'save_sidebar_width' script
Original file line number Diff line number Diff line change @@ -76,10 +76,12 @@ sidebar_file() {
76
76
}
77
77
78
78
directory_in_sidebar_file () {
79
- grep -q " ^$1 " $( sidebar_file) 2> /dev/null
79
+ local pane_current_path=" $1 "
80
+ grep -q " ^${pane_current_path} \t" $( sidebar_file) 2> /dev/null
80
81
}
81
82
82
83
width_from_sidebar_file () {
83
- grep " ^$1 " $( sidebar_file) |
84
+ local pane_current_path=" $1 "
85
+ grep " ^${pane_current_path} \t" $( sidebar_file) |
84
86
cut -f2
85
87
}
You can’t perform that action at this time.
0 commit comments