aboutsummaryrefslogtreecommitdiffhomepage
path: root/builtin.c
diff options
context:
space:
mode:
authorGravatar axel <axel@liljencrantz.se>2006-02-15 12:22:28 +1000
committerGravatar axel <axel@liljencrantz.se>2006-02-15 12:22:28 +1000
commitc94b9e504d0db7ebd2a2b87fce997ca3c9851b8b (patch)
treedff930e4639b7141b7c0e334f096c07fb3e9b0d8 /builtin.c
parent8be3bf3e5db8519ac69c3372342c97418c82e5ff (diff)
Remove the rather stupid -y option for complete, which loads another commands completions. Mostly the same results can be had with fewer bugs and corner cases vy using the new dynamically loaded functions.
darcs-hash:20060215022228-ac50b-85614ed684f73460d43543a579ff2c7e7914efeb.gz
Diffstat (limited to 'builtin.c')
-rw-r--r--builtin.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/builtin.c b/builtin.c
index 235902ef..9e985fd3 100644
--- a/builtin.c
+++ b/builtin.c
@@ -2000,7 +2000,7 @@ static int builtin_source( wchar_t ** argv )
{
wchar_t *fn = wrealpath( argv[1], 0 );
const wchar_t *fn_intern;
-
+
if( !fn )
{
fn_intern = intern( argv[1] );
@@ -2018,8 +2018,8 @@ static int builtin_source( wchar_t ** argv )
current_block->param1.source_dest = fn_intern;
parse_util_set_argv( argv+2);
-
res = reader_read( fd );
+
parser_pop_block();
if( res )
{