Page 1 of 1

.bashrc von Debian

Posted: 2003-01-17 07:45
by treo
Hi,

jaja... ich weis, bin doof... nich haun... hab meine in /root befindliche .bashrc geloescht... nun sind natuerlich die Standart PATH Einstellungen futsch... koennte bitte jemand seine Debian /root/.bashrc posten (wenns geht eine unveraenderte)... das waere wirklich klasse...

Schonmal Danke,

CU Treo

Re: .bashrc von Debian

Posted: 2003-01-17 07:59
by v00dy
# ~/.bashrc: executed by bash(1) for non-login shells.

export PS1='h:w$ '
umask 022

# You may uncomment the following lines if you want `ls' to be colorized:
# export LS_OPTIONS='--color=auto'
# eval `dircolors`
# alias ls='ls $LS_OPTIONS'
# alias ll='ls $LS_OPTIONS -l'
# alias l='ls $LS_OPTIONS -lA'
#
# Some more alias to avoid making mistakes:
# alias rm='rm -i'
# alias cp='cp -i'
# alias mv='mv -i'

mit einem etwas bunterem PS1

Posted: 2003-01-17 12:29
by Anonymous
darf kein zeilenumbruch enthalten

Code: Select all

PS1="[\033[0;33m]t[\033[1;35m]:\[\033[0;32m]u[\033[1;34m]@[\033[0;31m]\h[\033[1;35m]:[\033[1;39m]w[\033[0m]\[\033[1;34m]>[\033[0m] "
export PS1

Re: .bashrc von Debian

Posted: 2003-01-17 14:45
by treo
Hi,

vielen vielen Dank... hab aber jetzt auch selber gefunden das es unter /usr/share/base-file jeweils diese files auch gibt... und es war nicht die bashrc die ich eigentlich gebraucht hab sondern die .profile... trotzdem, vielen Dank, ohne euch waere ich da nicht drauf gekommen.

CU Treo