Fabian Greffrath wrote:
> + * Document and prepare enabling the globstar feature
> + in /etc/skel/.bashrc (Closes: #627926).
Thanks. Matthias, ideally I would like /etc/skel to look something
like the following:
.profile
========
# see bash(1), sh(1posix), environ(7),
# /usr/share/doc/bash/examples/startup-files.
# The default umask is handled by pam_umask(8), but you can
# override it for login shells in /etc/profile or here.
#umask 002
export PATH ENV LESS VISUAL
# see /etc/login.defs
PATH=/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
if test -d "$HOME/bin"
then
PATH=$HOME/bin:$PATH
fi
ENV=$HOME/.shrc
LESS=FRSX; # see less(1)
#export VISUAL PAGER MAILER BROWSER EMAIL
#VISUAL=emacs
#PAGER=less
#MAILER='x-terminal-emulator -e mutt'; # see xdg-email(1)
#BROWSER=iceweasel
#[email protected]
export LESSOPEN LESSCLOSE; # see less(1), lesspipe(1)
LESSOPEN='| lesspipe %s'
LESSCLOSE='lesspipe %s %s'
if type dircolors >/dev/null 2>&1
then
test -r ~/.dircolors &&
eval "$(dircolors -b ~/.dircolors)" ||
eval "$(dircolors -b)"
fi
export MALLOC_PERTURB_
MALLOC_PERTURB_=173; # see glibc:malloc/arena.c
if test "${BASH+set}"
then
MALLOC_PERTURB_=$(($RANDOM % 255 + 1))
fi
# Unlike other shells, bash doesn't read $ENV unless we tell it to.
if test "${BASH+set}"
then
. "$HOME/.bashrc"
fi
.bashrc
=======
# see bash(1), ~/.profile,
# /usr/share/doc/bash/examples/startup-files (in the package bash-doc)
# If not running interactively, don't do anything.
case $- in *i*) ;; *) return; esac
# append to the history file instead of overwriting it.
shopt -s histappend
# update LINES and COLUMNS when the window is resized.
shopt -s checkwinsize
# disable !history expansion
set +H
# programmable tab completion. This can be enabled system-wide
# in /etc/bash.bashrc.
if test -r /etc/bash_completion
then
. /etc/bash_completion
fi
if test "${ENV+set}"
then
. "$ENV"
fi
.shrc
=====
# see ~/.profile, ~/.bashrc
# If not running interactively, don't do anything.
case $- in *i*) ;; *) return; esac
#unset HISTFILE; # see bash(1)
# Don't remember duplicate commands or commands starting with space.
HISTCONTROL=ignoreboth
PS1='\$ '; # simple prompt
if test -r /etc/debian_chroot
then
debian_chroot=\($(cat /etc/debian_chroot)\)
else
debian_chroot=
fi
if test "${BASH+set}"
then
PS1='${debian_chroot}\u@\h:\w'"$PS1"
# If this is an xterm, set the title to user@host:dir.
case $TERM in
xterm*|rxvt*)
# see /usr/share/doc/xterm/ctlseqs.txt.gz
PS1='\[\e]0;${debian_chroot}\u@\h: \w\a\]'"$PS1"
esac
fi
alias ls=ls\ -v\ --color=auto
#alias info=info\ --vi-keys
#alias su=su\ -
#ulimit -c 1024
but given the current larger example files, Fabian's change makes
sense to me.
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]