Permalink
Browse files

Fix h command

  • Loading branch information...
1 parent dbe30bf commit 4177d025afa916f75fcc0ee06e71c13ed85c9190 @Shougo committed Feb 17, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 autoload/vimshell/commands/h.vim
@@ -33,7 +33,7 @@ function! s:command.execute(args, context) "{{{
" Execute from history.
let histories = vimshell#history#read()
- if empty(a:args) || a:args[0] =~ '^\d\+'
+ if empty(a:args) || a:args[0] =~ '^-\?\d\+'
if empty(a:args)
let num = -1
else

0 comments on commit 4177d02

Please sign in to comment.