implemented style for executables
This commit is contained in:
1 parent
7a78bc6fc8
commit
95fc4dec6a
2 files changed
+8
-2
No files matched your search
@@ -273,6 +273,12 @@ void set_file_style( const directory_entry_t* const entry )
|
||||
{
|
||||
if ( !entry ) return;
|
||||
|
||||
if ( entry->stats.st_mode & S_IXUSR )
|
||||
{
|
||||
format_set_style( &executable_style[ 0 ], EXEC_STYLE_NUM );
|
||||
format_set_colour( executable_colour );
|
||||
}
|
||||
|
||||
// makefiles and readmes
|
||||
if ( compare_makefile( entry ) )
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user