export HISTIGNORE="&" # removes consecutive duplicate commands # from history (aka up/down arrows) |
.inputrc
in your
home directory with the following contest, and a single
tab will suffice!
~/.inputrc |
# This file (~/.inputrc) customizes readline, which is what # actually reads lines in, for example, bash. # Setting this results in getting autolist with # only a single tab a la tcsh. Whoopee!!! set show-all-if-ambiguous on |
ls
listings to be in color,
with regular files, direcotries, executable files, pipes,
etc. all in different colors like this:
bear[1][~/tmp]$ ls codeprint* foo.txt tempdir/ tmp.psHere's what you have to do: 1) In your ~/.bash_profile add
# Sets the LS_COLORS variable for color listings with gnu's ls eval "$(dircolors)"and 2) change the alias for ls in your ~/.bashrc file to
alias ls='gls -F --color=auto'