~ubuntu-branches/ubuntu/trusty/bash/trusty-security

« back to all changes in this revision

Viewing changes to debian/skel.bashrc

  • Committer: Bazaar Package Importer
  • Author(s): Matthias Klose
  • Date: 2002-04-08 20:51:41 UTC
  • Revision ID: james.westby@ubuntu.com-20020408205141-p16ukpd93kg6ce7g
Tags: 2.05a-11
* Don't mishandle negative pid in `kill' builtin (closes: #133927, #137742).
* builtins(1) doesn't document `for' (closes: #118755).
* Add /usr/share/bash_completion directory to source package specific
  completion files.
* Update to bash_completion 20020408 (v1.264).
  Closes: #133109, #139375, #139675, #134713, #141134.
* Add completion to /etc/skel/.bashrc (commented out). Closes: #138921.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# ~/.bashrc: executed by bash(1) for non-login shells.
 
2
# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc)
 
3
# for examples
 
4
 
 
5
# If running interactively, then:
 
6
if [ "$PS1" ]; then
 
7
 
 
8
    # don't put duplicate lines in the history. See bash(1) for more options
 
9
    # export HISTCONTROL=ignoredups
 
10
 
 
11
    # enable color support of ls and also add handy aliases
 
12
    eval `dircolors -b`
 
13
    alias ls='ls --color=auto'
 
14
    #alias dir='ls --color=auto --format=vertical'
 
15
    #alias vdir='ls --color=auto --format=long'
 
16
 
 
17
    # some more ls aliases
 
18
    #alias ll='ls -l'
 
19
    #alias la='ls -A'
 
20
    #alias l='ls -CF'
 
21
 
 
22
    # set a fancy prompt
 
23
    PS1='\u@\h:\w\$ '
 
24
 
 
25
    # If this is an xterm set the title to user@host:dir
 
26
    #case $TERM in
 
27
    #xterm*)
 
28
    #    PROMPT_COMMAND='echo -ne "\033]0;${USER}@${HOSTNAME}: ${PWD}\007"'
 
29
    #    ;;
 
30
    #*)
 
31
    #    ;;
 
32
    #esac
 
33
 
 
34
    # enable programmable completion features (you don't need to enable
 
35
    # this, if it's already enabled in /etc/bash.bashrc).
 
36
    #if [ -f /etc/bash_completion ]; then
 
37
    #  . /etc/bash_completion
 
38
    #fi
 
39
fi