File: bashrc

package info (click to toggle)
monotone 1.1-9
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 20,984 kB
  • ctags: 8,622
  • sloc: cpp: 86,450; sh: 6,906; perl: 924; makefile: 813; python: 517; lisp: 379; sql: 118; exp: 91; ansic: 52
file content (39 lines) | stat: -rw-r--r-- 1,183 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# -*- shell-script -*-
# Use emacs key bindings
set -o emacs
# Use bash strict mode
#set -o posix
# Set the prompts
export PS1='@ '
export PS2='> '
# Configure readline
export INPUTRC=$srcdir/extra/bash_completion/inputrc
# Set dumb terminal
#export TERM=dummy
# Give us many columns
stty columns 4000
# Make sure to load the bash_completion package
if [ "$BASH_COMPLETION" = "" ]; then
    if [ -f /etc/bash_completion ]; then
	. /etc/bash_completion
    elif [ -f /usr/local/etc/bash_completion ]; then
	. /usr/local/etc/bash_completion
    elif [ -f /usr/share/bash-completion/bash_completion ] ; then
	. /usr/share/bash-completion/bash_completion
    elif [ -f /usr/share/bash-completion/.pre -a \
           -f /usr/share/bash-completion/base ]; then
        # In Gentoo /etc/profile.d/bash-completion.sh sources required
        # functions only if enabled with `eselect bashcomp`. We source
        # required definitions manually.
        . /usr/share/bash-completion/.pre
        . /usr/share/bash-completion/base
    else
	echo No bash completion package present.
	exit
    fi
fi
#
echo Current settings
echo pwd: $(pwd)
echo initial_dir: $initial_dir
echo srcdir: $srcdir