Browse Source

fix bug on dh

pull/1/head
10sr 11 years ago
parent
commit
b65daa77bb
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      bashrc

+ 1
- 1
bashrc View File

@@ -268,7 +268,7 @@ dh(){
then
dirs -v -l
else
local dir="$(dirs -v -l | \grep "^ *$1 \+" | sed "s/^ *[0-9]\+ *//g")"
local dir="$(dirs -v -l | \grep "^ *$1 \+" | sed "s/^ *[0-9]* *//g")"
cd "$dir"
fi
}


Loading…
Cancel
Save