Code:
cat > /etc/profile.d/i18n.sh << "EOF"
# Set up i18n variables
export LANG=en_US
EOF
What this does is run a here document that writes the 2nd and 3rd line to a file (via redirection). You can use vim or another editor to make corrections or create a file instead.
I haven't modified my .inputrc and it contains comments that one may remove to make changes.
Code:
cat .inputrc
################################################################################
## ~/.inputrc
##
## Control the behaviour of the readline library used e.g.
## by the bash in the interactive mode for line editing.
##
################################################################################
#
# The bell style used e.g. on error or tab completion, possible values
# are `none', `visible', and `audible' the ringing the bell.
#
#set bell-style none
#
# If set to on, words which have more than one possible completion without
# any possible partial completion cause the matches to be listed immediately
# instead of ringing the bell.
#
#set show-all-if-unmodified on
#
# If set to on, words which have more than one possible completion cause the
# matches to be listed immediately instead of ringing the bell.
#
#set show-all-if-ambiguous on
#
# end
#
Where did you get your /etc/inputrc file. It has key mappings. If you modified it, you might want to go back to the original.
I would recommend installing the rcs package. Then before modifying a configuration file, you can check it in so you can later revert to a previous version if there is a problem.
E.G.
sudo mkdir /etc/RCS
cd /etc
sudo ci -l inputrc
# make modifications
vim inputrc
[/code]
Never change permissions of files in such a bulk manner. If you have an /etc/permissions file, it will list the ownership and permissions that files should be. Fix your ~/.bash_profile & /etc/profile files or the files it sources instead of stopping it from running.
Also, read the first part of the "info bash" manual. It tells you which startup script is run for login shells. There are three possible startup scripts that might be run in your home directory. ~/.profile, ~/.bash_login or ~/.bash_profile. One may source another as well, so reading what you have would be a good idea.
I don't understand what you mean by sexy terminals. Often changes are made in the PS1 variable to change the prompt.