hi all
ich hab da eine frage zu ssh.
hab woody laufen und erst grad neu installiert.
nun hab ich aber als normaler ssh-user keine farben auf meinem ssh-terminal. (weder bash noch vim)
wenn ich mich als root über ssh einlogge habe ich all die farben.
gruss
user_farben unter ssh?
-
- Beiträge: 5
- Registriert: 17.05.2002 19:31:37
habs_probiert. geht nicht
ich hab die farben enabeld. klappt trotzdem nicht. keine farben unter ssh
ausser als root. hab auch schon /root/.bashrc in meine .bashrc kopiert. immernoch no colors:
users .bashrc:
# ~/.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 -lh'
alias ll='ls -lAh'
#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
--------------------------------------------
root .bashrc:
# ~/.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 -lA'
alias l='ls $LS_OPTIONS -l'
#
# Some more alias to avoid making mistakes:
# alias rm='rm -i'
# alias cp='cp -i'
# alias mv='mv -i'
ausser als root. hab auch schon /root/.bashrc in meine .bashrc kopiert. immernoch no colors:
users .bashrc:
# ~/.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 -lh'
alias ll='ls -lAh'
#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
--------------------------------------------
root .bashrc:
# ~/.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 -lA'
alias l='ls $LS_OPTIONS -l'
#
# Some more alias to avoid making mistakes:
# alias rm='rm -i'
# alias cp='cp -i'
# alias mv='mv -i'