Package: bash
Version: 3.2-5
Severity: normal

Hi.

Shouldn't all these files start with a #!/bin/bash ?

In the default .bash_logout you only check for the existance of clear_console and do nothing if it doesn't exist.
Wouldn't it be better to either try reset or at least print a warning?

In .bashrc:
1)
export HISTCONTROL=$HISTCONTROL${HISTCONTROL+,}ignoredups
# ... or force ignoredups and ignorespace
export HISTCONTROL=ignoreboth
=> The 2nd one overwrites the 1st one,.. so that should perhaps be commented (just a cosmetic change, though).

2) Colour-Prompt:
I've never seen a term that actually sets TERM to xterm-color. So one always have to set force_color_prompt, which seems to do some checking anyway. Why not simply drop that stuff and just rely on the tput-check? And perhaps allow to set force_no_colors or so?

3) The aliases should be actually moved to that .bash_aliases file....  (IMHO)

4)
# make less more friendly for non-text input files, see lesspipe(1)
#[ -x /usr/bin/lesspipe ] && eval "$(SHELL=/bin/sh lesspipe)"
=> Please expand this for lessfile :-)



Thanks,
Chris.

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.28-heisenberg (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=en_DE.UTF-8, LC_CTYPE=en_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages bash depends on:
ii base-files 5.0 Debian base system miscellaneous f ii debianutils 3.0.1 Miscellaneous utilities specific t
ii  libc6                     2.9-7          GNU C Library: Shared libraries
ii libncurses5 5.7+20090404-1 shared libraries for terminal hand

Versions of packages bash recommends:
ii bash-completion 1:1.0-2 programmable completion for the ba

Versions of packages bash suggests:
ii bash-doc 3.2-5 Documentation and examples for the

-- no debconf information


----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.




--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to