aboutsummaryrefslogtreecommitdiffhomepage
path: root/builtin.c
diff options
context:
space:
mode:
authorGravatar axel <axel@liljencrantz.se>2005-11-29 20:13:03 +1000
committerGravatar axel <axel@liljencrantz.se>2005-11-29 20:13:03 +1000
commit02981a17509ea4faebd8371a88a604cbd2026331 (patch)
treeb1f4d3cc324967f4860aea4566d0d9f3ebde0e9e /builtin.c
parentc2e6b07b357f3173fdc9f14d0b5841761634b821 (diff)
Minor cleanups
darcs-hash:20051129101303-ac50b-11843dc32a9d05037b907fe1ac5df6a90cb7dd36.gz
Diffstat (limited to 'builtin.c')
-rw-r--r--builtin.c11
1 files changed, 1 insertions, 10 deletions
diff --git a/builtin.c b/builtin.c
index c04d8bb9..d15e49a2 100644
--- a/builtin.c
+++ b/builtin.c
@@ -1957,22 +1957,13 @@ static int builtin_complete( wchar_t **argv )
}
/**
- The source builtin. Can be called through either 'source' or
- '.'. Evaluates the contents of a file.
+ The . (dot) builtin, sometimes called source. Evaluates the contents of a file.
*/
static int builtin_source( wchar_t ** argv )
{
int fd;
int res;
-/*
- if( wcsstr( argv[1], L"fish_complete" ) )
- {
- fwprintf( stderr, L"Woot\n" );
- return 0;
- }
-*/
-
if( (argv[1] == 0) || (argv[2]!=0) )
{