X-Spam-Check-By: sourceware.org Message-ID: <43847BF7.4030908@byu.net> Date: Wed, 23 Nov 2005 07:25:59 -0700 From: Eric Blake User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) MIME-Version: 1.0 To: "Williams, Gerald S (Jerry)" CC: cygwin AT cygwin DOT com, Alireza Ghasemi Subject: Re: syntax highlighting in vim References: <94BF3137C62D3E4CAED7E97F876585F0D037CB AT pauex2ku08 DOT agere DOT com> In-Reply-To: <94BF3137C62D3E4CAED7E97F876585F0D037CB@pauex2ku08.agere.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 According to Williams, Gerald S (Jerry) on 11/23/2005 7:18 AM: > Alireza Ghasemi wrote: > >>I have the same problem about ls too. Do they >>ever support syntax highlighting ? > > > For ls, this might work for you: > > alias ls='ls -color=auto ' Actually, a better spelling would be alias ls='ls --color=auto' The long option must be spelled correctly. The use of a trailing space in the alias controls whether the next word on the command line will also be subject to alias expansion; it is more useful for situations like alias nice='nice ' so that "nice ls" will pick up that ls is also an alias. But since ls isn't usually followed by another program name to execute, you usually don't see people aliasing ls with a trailing space. - -- Life is short - so eat dessert first! Eric Blake ebb9 AT byu DOT net -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFDhHv384KuGfSFAYARAqWyAKDDAxXgf0+LzvCgoVAKzN2x1ziKOwCeNwA9 eofVcQL7DMAi/NictGTDnTA= =hfPW -----END PGP SIGNATURE----- -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/