config_file_name = '~/.bash_profile' config_file_type = 'shell_env' title='Environement Variables Configuration (in .bash_profile)' import os mailcheck={ 'name' : 'Mail Check', 'description' : 'Mail check interval', 'value_type' : 'integer', 'integer_limits': (1,60000), 'presence' : 'optional', 'config_name' : 'MAILCHECK' } prompt={ 'name' : 'Prompt', 'description' : 'Form of the primary prompt in interractive shells', 'value_type' : 'list', 'list_values' : [ ('host:path$', '"\\h:\\w\\$ "'), ('user@host:path$', '"\\u@\\h:\\w\\$ "'), ('path$', '"\\w\\$ "'), ('$', '"\\$ "'), ('bash-version$', '"\\s-\\v\\$ "')], 'presence' : 'optional', 'config_name' : 'PS1' } editor={ 'name' : 'Editor', 'description' : 'Default editor (for example vi)', 'presence' : 'optional', 'config_name' : 'EDITOR' } lang={ 'name' : 'Langage', 'description' : 'Defines wich langage will be used by programs and Unix commands (only if they support National Langage Support)', 'value_type' : 'list', 'list_values' : map(lambda x:x[:-1], os.popen("locale -a", "r").readlines()), 'presence' : 'optional', 'config_name' : 'LANG' } lesschar={ 'name' : 'less character set', 'description' : 'Select a character set to use for the less command (see NATIONAL CHARACTER SETS in less(1))', 'value_type' : 'list', 'list_values' : [('ASCII', 'ascii'), ('ISO 8859', 'iso8859'), ('latin1 (same as ISO 8859)', 'latin1'), ('MS-DOS','dos'), ('EBCDIC', 'ebcdic'), ('Russian', 'koi8-r'), ('NeXT', 'next'), ('UTF-8 encoding of the ISO 10646', 'utf-8')], 'presence' : 'optional', 'config_name' : 'LESSCHARSET' }