I recently switched to a 12" PB running 10.3.5 with 768Mb of RAM. Most recently I noticed that my Terminal.app does not show color text for ls or syntax highlighting for vim, as it did "out of the box".
I have followed some hints and threads that talk about setting up aliases for li and vim to enable color highlighting, however, this was not the original setup which is what I am trying to obtain once again. The following are some bits of information that might be of some help.
* I am using the default bash shell
* My term variable is set to xterm-color
* I use the following .bash_profile
* I deleted the preferences file ("~/Library/Preferences/com.apple.Terminal.plist") and restarted the application. I was able to reset the window settings but still not color text for ls or vim
I knew about using "ls -G" to enable color for directory listing and I could even set it as an alias in my .bash_profile file but I am trying to figure out what changed from the setup I had when I got the powerbook.
I am assuming that the original installation defines an alias for "ls" as "ls -G" and another one to enable color syntax for vim, however I would like to know where these are created on a default installation. For example, in a Fedora installation, a file /etc/profile.d/colorls.sh creates the appropriate alias for color syntax, but aside from a user's .bashrc or .bash_profile, how does Panther allow for this?
Thank you for any you advice or suggestions you might have available.
I have followed some hints and threads that talk about setting up aliases for li and vim to enable color highlighting, however, this was not the original setup which is what I am trying to obtain once again. The following are some bits of information that might be of some help.
* I am using the default bash shell
* My term variable is set to xterm-color
* I use the following .bash_profile
#source .bashrc if it's there
if [-f ~/.bashrc ]; then
. ~/.bashrc
fi
#environment aliases
alias start_tomcat="$CATALINA_HOME/bin/startup.sh"
alias stop_tomcat="$CATALINA_HOME/bin/shutdown.sh"
#environment variable
export CATALINA_HOME=/usr/local/jakarta-tomcat-5.0.28
export ANT_HOME=/usr/local/apache-ant-1.6.2
export JAVA_HOME=/usr
#set path to include java development
export PATH=$PATH :$CATALINA_HOME/bin:$ANT_HOME/bin
* I do not have a ~/.bashrc fileif [-f ~/.bashrc ]; then
. ~/.bashrc
fi
#environment aliases
alias start_tomcat="$CATALINA_HOME/bin/startup.sh"
alias stop_tomcat="$CATALINA_HOME/bin/shutdown.sh"
#environment variable
export CATALINA_HOME=/usr/local/jakarta-tomcat-5.0.28
export ANT_HOME=/usr/local/apache-ant-1.6.2
export JAVA_HOME=/usr
#set path to include java development
export PATH=$PATH :$CATALINA_HOME/bin:$ANT_HOME/bin
* I deleted the preferences file ("~/Library/Preferences/com.apple.Terminal.plist") and restarted the application. I was able to reset the window settings but still not color text for ls or vim
I knew about using "ls -G" to enable color for directory listing and I could even set it as an alias in my .bash_profile file but I am trying to figure out what changed from the setup I had when I got the powerbook.
I am assuming that the original installation defines an alias for "ls" as "ls -G" and another one to enable color syntax for vim, however I would like to know where these are created on a default installation. For example, in a Fedora installation, a file /etc/profile.d/colorls.sh creates the appropriate alias for color syntax, but aside from a user's .bashrc or .bash_profile, how does Panther allow for this?
Thank you for any you advice or suggestions you might have available.