Commit Graph

9 Commits (8f9698bf75ff0f55f112f74ad56f878ea3b564d1)

Author SHA1 Message Date
nirenjan a5071c6285 Move Bash startup files to separate folder
Make it easier to add new configuration to Bash by adding a .bash file
to ~/.bashrc.d/. This file will be executed on startup.
2015-04-18 19:53:11 -07:00
nirenjan f77b4eeb77 Fix prompt for commands over SSH
When executing commands over SSH, such as SCP, the server (tput)
complains that there is no terminal defined. This fix sets the T_*
variables only if the TERM variable is not empty.
2013-06-18 11:36:50 -07:00
nirenjan dff9c41948 Add bash aliases 2013-05-20 22:41:56 -07:00
nirenjan cf2cd69b13 Fix PS1 in bash
Without \[ \] wrapping, bash was getting confused where the cursor actually
was. This fixes that problem.
2013-05-08 23:30:36 -07:00
nirenjan 48e6e5edcc Fix smartwd script and update PS1 in bashrc.common 2013-02-14 14:11:12 -08:00
nirenjan 0b01047612 Disable vi mode in bash - too many problems 2013-02-11 16:06:48 -08:00
nirenjan 1b8e435dc4 Set vi mode in bashrc.common 2013-01-31 18:36:33 -08:00
nirenjan 5e4648a49e Tweak bashrc.common
Add a function add_to_path so that it can prepend any specified path
to the PATH environment variable, but only if it is not already there.

Don't worry about (re)setting the LS_COLORS environment if it's already
been set by the system bashrc.
2013-01-30 10:27:39 -08:00
nirenjan 13fae1e870 Move bashrc files to their own folder 2013-01-25 09:31:23 -08:00