aliases: remove xdir aliases; alias dir on Windows only

This commit is contained in:
Robert W. Brewer 2015-05-13 18:43:35 -04:00
parent 4063f22bc1
commit 23df3e2778

View file

@ -106,14 +106,11 @@ DEFAULT_ALIASES = {
}
if ON_WINDOWS:
DEFAULT_ALIASES['xdir'] = ['cmd', '/c', 'dir']
else:
DEFAULT_ALIASES['xdir'] = ['/bin/dir']
DEFAULT_ALIASES['grep'] = ['grep', '--color=auto']
if ON_MAC:
DEFAULT_ALIASES['dir'] = ['cmd', '/c', 'dir']
elif ON_MAC:
DEFAULT_ALIASES['ls'] = ['ls', '-G']
else:
DEFAULT_ALIASES['grep'] = ['grep', '--color=auto']
DEFAULT_ALIASES['ls'] = ['ls', '--color=auto', '-v']