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

Re: Eterm



Servicio Tecnico Internet wrote:

Ok... muchas gracias... quedo barbaro... muy bueno lo de la hora...


El lun, 11-11-2002 a las 16:51, bro escribió:
Servicio Tecnico Internet wrote:

Hola...tengo una duda como hago para ver colores en una eterm... me
refiaro a cuendo hago por ej. un ls -l ... que me muestre todo en
colores como en una xterm....






Te pongo aquí mi .bash_profile y mi .bashrc por si son de tu agrado.......

**************************************************************
# ~/.bash_profile: executed by bash(1) for login shells.
# see /usr/share/doc/bash/examples/startup-files for examples.
# the files are located in the bash-doc package.

umask 022

# the rest of this file is commented out.

# include .bashrc if it exists

if [ -f ~/.bashrc ]; then
   source ~/.bashrc
fi

# set PATH so it includes user's private bin if it exists
if [ -d ~/bin ] ; then
   PATH=~/bin:"${PATH}"
fi

# do the same with MANPATH
if [ -d ~/man ]; then
   MANPATH=~/man:"${MANPATH}"
fi
~
~

****************************************************************
# ~/.bashrc: executed by bash(1) for non-login shells.
# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc)
# for examples

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

   # don't put duplicate lines in the history. See bash(1) for more options
   # export HISTCONTROL=ignoredups

   # enable color support of ls and also add handy aliases
   eval `dircolors -b`
   alias ls='ls --color=auto'
   alias dir='ls --color=auto --format=vertical'
   alias vdir='ls --color=auto --format=long'

   # some more ls aliases
   alias ll='ls -l'
   alias la='ls -A'
   alias l='ls -a -l'

   # set a fancy prompt
   PS1='`date +%X`>>\u@\h:\w\$ '

   # If this is an xterm set the title to user@host:dir
   #case $TERM in
   #xterm*)
   #    PROMPT_COMMAND='echo -ne "\033]0;${USER}@${HOSTNAME}: ${PWD}\007"'
   #    ;;
   #*)
   #    ;;
   #esac

   # enable programmable completion features (you don't need to enable
   # this, if it's already enabled in /etc/bash.bashrc).



--
To UNSUBSCRIBE, email to debian-user-spanish-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org




Nada.....a mandar!
saludos




Reply to: