19
11
I'm working on reorganizing my .bashrc
. I moved my aliases to .bash_aliases
(which is sourced by .bashrc
, but I can't figure out how to enable syntax highlighting for this file. vim
seems unable to figure out what language the file is in. It works fine for .bashrc
. Any ideas?
Perfect! This solved my problem. – Matthew – 2010-10-07T19:39:56.523
5You shouldn't edit the vim distribution (files in /usr/share/vim). Your changes may be overwritten when you update vim. Instead, you should create your own script that does the same (or adding that line to your vimrc would do it). – idbrii – 2011-09-09T19:13:00.240