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

« back to all changes in this revision

Viewing changes to examples/startup-files/bash-profile

  • Committer: Package Import Robot
  • Author(s): Matthias Klose
  • Date: 2014-03-03 22:52:05 UTC
  • mfrom: (1.3.5) (2.2.6 experimental)
  • Revision ID: package-import@ubuntu.com-20140303225205-87ltrt5kspeq0g1b
Tags: 4.3-1ubuntu1
* Merge with Debian; remaining changes:
  - skel.bashrc:
    - Run lesspipe.
    - Enable ls aliases.
    - Set options in ll alias to -alF.
    - Define an alert alias.
    - Enabled colored grep aliases.
  - etc.bash.bashrc:
    - Add sudo hint.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# This is the filename where your incoming mail arrives.
 
2
MAIL=~/mbox
 
3
MAILCHECK=30
 
4
 
 
5
HISTFILE=~/.history/history.$HOSTNAME
 
6
 
 
7
PATH1=/usr/homes/chet/bin.$HOSTTYPE:/usr/local/bin/gnu:
 
8
PATH2=/usr/local/bin:/usr/ucb:/bin:/usr/bin/X11:.
 
9
PATH3=/usr/bin:/usr/new/bin:/usr/contrib/bin
 
10
PATH=$PATH1:$PATH2:$PATH3
 
11
 
 
12
EDITOR=/usr/local/bin/ce VISUAL=/usr/local/bin/ce FCEDIT=/usr/local/bin/ce
 
13
 
 
14
SHELL=${SHELL:-${BASH:-/bin/bash}}
 
15
 
 
16
PAGER=/usr/local/bin/less
 
17
LESS='-i -e -M -P%t?f%f :stdin .?pb%pb\%:?lbLine %lb:?bbByte %bb:-...'
 
18
#
 
19
# Bogus 1003.2 variables.  This should really be in /etc/profile
 
20
#
 
21
LOGNAME=${USER-$(whoami)}
 
22
TZ=US/Eastern
 
23
 
 
24
export HOME VISUAL EDITOR MAIL SHELL PATH TERM 
 
25
export PAGER LESS TERMCAP HISTSIZE HISTFILE MAIL MAILCHECK LOGNAME TZ
 
26
 
 
27
PS1="${HOSTNAME}\$ "
 
28
PS2='> '
 
29
export PS1 PS2
 
30
 
 
31
umask 022
 
32
 
 
33
if [ -f /unix ] ; then
 
34
        stty intr ^c    # bogus
 
35
fi
 
36
 
 
37
if [ -f ~/.bashrc ] ; then
 
38
        . ~/.bashrc
 
39
fi