mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-26 19:03:38 +08:00
Add switch fo scope hiding in output of functions builtin
darcs-hash:20070922221920-75c98-7a17d24162a3fbdfd9c05690d2358511a3ca0281.gz
This commit is contained in:
parent
e1afe17671
commit
e6b9955fc1
|
@ -892,6 +892,11 @@ static void functions_def( wchar_t *name, string_buffer_t *out )
|
||||||
free( esc_desc );
|
free( esc_desc );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if( !function_get_shadows( name ) )
|
||||||
|
{
|
||||||
|
sb_append2( out, L" --no-scope-shadowing", (void *)0 );
|
||||||
|
}
|
||||||
|
|
||||||
for( i=0; i<al_get_count( &ev); i++ )
|
for( i=0; i<al_get_count( &ev); i++ )
|
||||||
{
|
{
|
||||||
event_t *next = (event_t *)al_get( &ev, i );
|
event_t *next = (event_t *)al_get( &ev, i );
|
||||||
|
|
Loading…
Reference in New Issue
Block a user