]> git.ipfire.org Git - people/teissler/ipfire-2.x.git/blob - config/etc/bashrc
Remove mc alias (which disabled UTF-8).
[people/teissler/ipfire-2.x.git] / config / etc / bashrc
1 # Begin /etc/bashrc
2 # Written for Beyond Linux From Scratch
3 # by James Robertson <jameswrobertson@earthlink.net>
4 # updated by Bruce Dubbs <bdubbs@linuxfromscratch.org>
5
6 # Make sure that the terminal is set up properly for each shell
7
8 if [ -f /etc/profile.d/tinker-term.sh ]; then
9 source /etc/profile.d/tinker-term.sh
10 fi
11
12 # System wide aliases and functions.
13
14 # System wide environment variables and startup programs should go into
15 # /etc/profile. Personal environment variables and startup programs
16 # should go into ~/.bash_profile. Personal aliases and functions should
17 # go into ~/.bashrc
18
19 # Provides a colored /bin/ls command. Used in conjunction with code in
20 # /etc/profile.
21
22 alias ls='ls --color=auto'
23 alias ll='ls -la'
24 alias which='alias | /usr/bin/which --tty-only --read-alias --show-dot --show-tilde'
25
26 # Make the shell a little bit more interactive
27 # to prevent the deletion of some files
28 alias mv='mv -i'
29 alias rm='rm -i'
30 alias cp='cp -i'
31
32 # Provides prompt for non-login shells, specifically shells started
33 # in the X environment. [Review the LFS archive thread titled
34 # PS1 Environment Variable for a great case study behind this script
35 # addendum.]
36
37 #export PS1="\033[0m[\033[1;33m\u\033[1;37m@\033[1;32m\]\h \033[1;31m\w\033[0m]\\$ "
38 export PS1="[\u@\h \w]\\$ "
39 #export PS1='\u@\h:\w\$ '
40
41 # End /etc/bashrc