Change .bashrc in skel profile
This commit is contained in:
parent
aeb4a44958
commit
ce388caf0c
1 changed files with 22 additions and 15 deletions
|
@ -1,6 +1,6 @@
|
|||
--- a/rootfs/etc/skel/.bashrc
|
||||
+++ b/rootfs/etc/skel/.bashrc
|
||||
@@ -43,7 +43,7 @@
|
||||
--- stage1.orig/rootfs/etc/skel/.bashrc
|
||||
+++ stage1/rootfs/etc/skel/.bashrc
|
||||
@@ -43,7 +43,7 @@ esac
|
||||
# uncomment for a colored prompt, if the terminal has the capability; turned
|
||||
# off by default to not distract the user: the focus in a terminal window
|
||||
# should be on the output of commands, not on the prompt
|
||||
|
@ -9,18 +9,14 @@
|
|||
|
||||
if [ -n "$force_color_prompt" ]; then
|
||||
if [ -x /usr/bin/tput ] && tput setaf 1 >&/dev/null; then
|
||||
@@ -57,7 +57,7 @@
|
||||
fi
|
||||
|
||||
if [ "$color_prompt" = yes ]; then
|
||||
- PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ '
|
||||
+ PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w \$\[\033[00m\] '
|
||||
else
|
||||
PS1='${debian_chroot:+($debian_chroot)}\u@\h:\w\$ '
|
||||
fi
|
||||
@@ -79,9 +79,9 @@
|
||||
#alias dir='dir --color=auto'
|
||||
#alias vdir='vdir --color=auto'
|
||||
@@ -76,20 +76,21 @@ esac
|
||||
if [ -x /usr/bin/dircolors ]; then
|
||||
test -r ~/.dircolors && eval "$(dircolors -b ~/.dircolors)" || eval "$(dircolors -b)"
|
||||
alias ls='ls --color=auto'
|
||||
- #alias dir='dir --color=auto'
|
||||
- #alias vdir='vdir --color=auto'
|
||||
+ alias dir='dir --color=auto'
|
||||
+ alias vdir='vdir --color=auto'
|
||||
|
||||
- #alias grep='grep --color=auto'
|
||||
- #alias fgrep='fgrep --color=auto'
|
||||
|
@ -31,3 +27,14 @@
|
|||
fi
|
||||
|
||||
# colored GCC warnings and errors
|
||||
#export GCC_COLORS='error=01;31:warning=01;35:note=01;36:caret=01;32:locus=01:quote=01'
|
||||
|
||||
# some more ls aliases
|
||||
-#alias ll='ls -l'
|
||||
-#alias la='ls -A'
|
||||
+alias ll='ls -l'
|
||||
+alias la='ls -A'
|
||||
+alias lal='ls -Al'
|
||||
#alias l='ls -CF'
|
||||
|
||||
# Alias definitions.
|
||||
|
|
Reference in a new issue