We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 838b7fa commit 8c841c7Copy full SHA for 8c841c7
CHANGELOG.md
@@ -1,6 +1,7 @@
1
# Changelog
2
3
### master
4
+- bugfix: invalid params for 'save_sidebar_width' script
5
6
### v0.6.0, Sep 05, 2014
7
- more options for customizing tree sidebar
scripts/save_sidebar_width.sh
@@ -5,7 +5,7 @@ CURRENT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
source "$CURRENT_DIR/helpers.sh"
source "$CURRENT_DIR/variables.sh"
8
-DIR_PATH="$1"
+DIR_PATH="$(echo "$1" | tail -1)" # fixes a bug with invalid param
9
WIDTH="$2"
10
delimiter=$'\t'
11
0 commit comments