Project

General

Profile

Actions

Feature #380

closed

give Debian root color prompt

Added by Florian Effenberger about 10 years ago. Updated almost 10 years ago.

Status:
Closed
Priority:
Low
Category:
-
Target version:
-
Start date:
Due date:
% Done:

0%

Tags:
Salt

Description

It'd be nice to give the give Debian root a color prompt - Ubuntu does this automatically
Seems to be working with the following lines in /root/.bashrc:

PS1='${debian_chroot:+($debian_chroot)}\[\033[01;31m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ '
export LS_OPTIONS='--color=auto'
eval "`dircolors`" 
alias ls='ls $LS_OPTIONS'
alias ll='ls $LS_OPTIONS -l'
alias l='ls $LS_OPTIONS -lA'
force_color_prompt=yes


Related issues

Related to Infrastructure - Feature #352: Alias ll='ls -l' by defaultClosedAlexander Werner

Actions
Actions

Also available in: Atom PDF