|
|
|
<file name="inputrc">
|
|
|
|
##
|
|
|
|
## @l_prefix@/etc/bash/inputrc -- Global GNU Bash Readline Configuration
|
|
|
|
##
|
|
|
|
|
|
|
|
# be 8-bit clean
|
|
|
|
set input-meta on
|
|
|
|
set output-meta on
|
|
|
|
|
|
|
|
# allow the use of 8-bit characters (like the German umlauts)
|
|
|
|
# However this makes the meta key not work as a meta key, which could
|
|
|
|
# be annoying to those who don't need to type in 8-bit characters.
|
|
|
|
set meta-flag on
|
|
|
|
set convert-meta off
|
|
|
|
|
|
|
|
# show all completions immediately instead of ringing the bell
|
|
|
|
set show-all-if-ambiguous on
|
|
|
|
set show-all-if-unmodified on
|
|
|
|
|
|
|
|
# make SHIFT-LEFT/SHIFT-RIGHT to word-wise jump backward/forward
|
|
|
|
"\e[1;2D": shell-backward-word
|
|
|
|
"\e[1;2C": shell-forward-word
|
|
|
|
|
|
|
|
# make CTRL-LEFT/CTRL-RIGHT to word-wise kill backward/forward
|
|
|
|
"\e[1;5D": shell-backward-kill-word
|
|
|
|
"\e[1;5C": shell-kill-word
|
|
|
|
|
|
|
|
</file>
|
|
|
|
<file name="profile">
|
|
|
|
##
|
|
|
|
## @l_prefix@/etc/bash/profile -- Global GNU Bash Profile
|
|
|
|
##
|
|
|
|
|
|
|
|
# interactive prompt and shell window size checking
|
|
|
|
if expr $- : ".*i.*" >/dev/null; then
|
|
|
|
PS1='\u@\h\$ '
|
|
|
|
shopt -s checkwinsize
|
|
|
|
fi
|
|
|
|
|
|
|
|
# environment permissions
|
|
|
|
umask 022
|
|
|
|
|
|
|
|
# filesystem handling
|
|
|
|
shopt -s cdspell
|
|
|
|
shopt -s no_empty_cmd_completion
|
|
|
|
shopt -s checkhash
|
|
|
|
|
|
|
|
# history functionality
|
|
|
|
shopt -s cmdhist
|
|
|
|
shopt -s histappend
|
|
|
|
shopt -s lithist
|
|
|
|
HISTSIZE=1000
|
|
|
|
HISTFILESIZE=1000
|
|
|
|
HISTIGNORE="&"
|
|
|
|
HISTTIMEFORMAT='%Y-%m-%d %H:%M:%S '
|
|
|
|
|
|
|
|
# allow foreign packages to hook into processing
|
|
|
|
for profile in @l_prefix@/etc/bash/profile.d/*; do
|
|
|
|
if [ ".$profile" != ".@l_prefix@/etc/bash/profile.d/*" ]; then
|
|
|
|
source "$profile"
|
|
|
|
fi
|
|
|
|
done
|
|
|
|
|
|
|
|
</file>
|
|
|
|
<file name="bashrc">
|
|
|
|
##
|
|
|
|
## @l_prefix@/etc/bash/bashrc -- Global GNU Bash Run-Command Script
|
|
|
|
##
|
|
|
|
|
|
|
|
</file>
|
|
|
|
<file name="bash_logout">
|
|
|
|
##
|
|
|
|
## @l_prefix@/etc/bash/bash_logout -- Global GNU Bash Run-Command Script (Logout)
|
|
|
|
##
|
|
|
|
|
|
|
|
</file>
|