mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-03-25 04:22:04 +08:00
Allow explicitly local variable that die at EOF when sourcing files
darcs-hash:20051007212844-ac50b-d6494ae3271225e4833ef3550e9cfb0c5e3b3802.gz
This commit is contained in:
parent
1f60bfa55f
commit
c84d360ae7
@ -1918,7 +1918,9 @@ static int builtin_source( wchar_t ** argv )
|
||||
else
|
||||
{
|
||||
reader_push_current_filename( argv[1] );
|
||||
env_push(0);
|
||||
res = reader_read();
|
||||
env_pop();
|
||||
if( res )
|
||||
{
|
||||
sb_printf( sb_err,
|
||||
|
Loading…
x
Reference in New Issue
Block a user