Disclaimer - I'm a rookie with linux / unix.
I'm aware there are some incompatibilities between some terminals. I see in my .profile by default it has TERM=${TERM:-cons25} set. I've tried changing that but still nothing seems to work. I'll dump my files out so hopefully someone can help here. In my terminal settings, the terminal is declared as xterm-color.
What I'm trying to do:
- different colors for directories, executables, sym links, plain files.
.bash_profile
if [ -f ~/.bashrc ]; then
source ~/.bashrc
fi
.bashrc
LS_COLORS='di=33:fi=32:ln=31:pi=5:so=5:bd=5:cd=5:or=31:mi=31:ex=94:*.rpm=90'
export LS_COLORS
alias gotoWeb='cd /volume2/web/'
alias restartApache='/usr/syno/etc/rc.d/S97apache-user.sh restart'
alias ll='ls -la --color'
.profile
#/etc/profile: system-wide .profile file for ash.
PATH="$PATH:/bin:/sbin:/usr/bin:/usr/sbin:/usr/syno/bin:/usr/syno/sbin:/usr/local/bin:/usr/local/sbin"
umask 022
#This fixes the backspace when telnetting in.
#if [ "$TERM" != "linux" ]; then
# stty erase
#fi
export PATH
HOME=/root
export HOME
TERM=${TERM:-cons25}
export TERM
PAGER=more
export PAGER
PS1="`hostname`> "
alias dir="ls -al"


