mirror of
https://github.com/fish-shell/fish-shell
synced 2024-11-10 23:24:39 +00:00
Make history variable contain whole history
darcs-hash:20061019113916-ac50b-7e24780cdd591ae23210f0da2cb80a4cf09ba5c6.gz
This commit is contained in:
parent
f6815629fc
commit
d7576a409a
1 changed files with 1 additions and 1 deletions
2
env.c
2
env.c
|
@ -987,7 +987,7 @@ wchar_t *env_get( const wchar_t *key )
|
|||
sb_append( &dyn_var, current );
|
||||
}
|
||||
|
||||
for( i=add_current; i<8; i++ )
|
||||
for( i=add_current;; i++ )
|
||||
{
|
||||
wchar_t *next = history_get( i-add_current );
|
||||
if( !next )
|
||||
|
|
Loading…
Reference in a new issue