Show More
@@ -204,6 +204,8 b' class AliasManager(Configurable):' | |||||
204 | def init_aliases(self): |
|
204 | def init_aliases(self): | |
205 | # Load default & user aliases |
|
205 | # Load default & user aliases | |
206 | for name, cmd in self.default_aliases + self.user_aliases: |
|
206 | for name, cmd in self.default_aliases + self.user_aliases: | |
|
207 | if cmd.startswith('ls ') and self.shell.colors == 'NoColor': | |||
|
208 | cmd = cmd.replace(' --color', '') | |||
207 | self.soft_define_alias(name, cmd) |
|
209 | self.soft_define_alias(name, cmd) | |
208 |
|
210 | |||
209 | @property |
|
211 | @property |
General Comments 0
You need to be logged in to leave comments.
Login now