[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

.bashrc



I'm confused as to how debian handles the .bashrc file. In my user
directory, I have a .bashrc file that reads
# ~/.bashrc: executed by bash(1) for non-login shells.
# see /usr/share/doc/bash/examples/startup-files for examples

# If running interactively, then:
if [ "$PS1" ]; then

    # enable color support of ls and also add handy aliases

    eval `dircolors`
    alias ls='ls --color=auto '
    alias ll='ls -l'
    alias la='ls -A'
    alias l='ls -CF'
    alias dir='ls --color=auto --format=vertical'
    alias vdir='ls --color=auto --format=long'

     set a fancy prompt

    PS1='\u@\h:\w\$ '
fi
But when I log into X and issue the ls command, it doesn't execute the
command in color, nor does it do anything for ll la or l, what's
overriding the .bashrc file? I don't have xdm installed..
thanks
dale 
-- 


"Make voyages, attempt them, there's nothing else."
                             --Tennessee Williams



Reply to: