aboutsummaryrefslogtreecommitdiff
path: root/bash/bashrc
Commit message (Collapse)AuthorAgeFilesLines
* Don't print error messages for old BashTom Ryder2014-02-191-4/+1
| | | | | If you're running Bash so old that these files won't run, you probably realise it already.
* Remove unneeded ${...} wraps around array derefsTom Ryder2014-02-191-1/+1
| | | | | Arrays can be dereferenced in arithmetic context, which I didn't realise until I actually tried it. This looks neater.
* Simplify/clarify history settingsTom Ryder2014-02-191-9/+5
| | | | | | | | | | | Testing BASH_VERSINFO like this is really ugly, and not really worth the convenience of infinite history in the upcoming Bash 4.3. There's also little advantage in me having such huge amounts of history in memory for each instance of my interactive shell; I've never even approached a million lines of history on any of my machines. This should be more than enough. Clarified the differences between the variables a bit too.
* Use space before semicolon as command separatorTom Ryder2014-02-101-8/+8
|
* Use explicit if for conditionTom Ryder2014-02-101-1/+3
| | | | Clearer than &&
* Explicitly check extension of .d filesTom Ryder2014-02-101-1/+1
|
* Use -r test consistently rather than -fTom Ryder2014-02-101-1/+1
| | | | Implicitly check whether file exists and is legible
* Do tell me about mail if I'm likely to careTom Ryder2013-10-211-2/+6
|
* Make failed loading due to old Bash explicitTom Ryder2013-10-191-0/+3
|
* Don't source files from ↵Tom Ryder2013-09-251-0/+2
| | | | /home/tom/.local/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
* Warn me about errant shift attemptsTom Ryder2013-09-251-0/+2
|
* Don't bother reading files for host completionTom Ryder2013-09-251-0/+2
|
* Need to massage version information with PETom Ryder2013-09-141-1/+2
|
* Turn off direxpand, never used it anywayTom Ryder2013-09-141-2/+0
|
* Safeguards to bail if Bash is just too oldTom Ryder2013-09-141-0/+5
|
* Don't limit history if using Bash >=4.3Tom Ryder2013-09-141-3/+8
| | | | <http://wiki.bash-hackers.org/scripting/bashchanges>
* Cloister options known not to work until 4.0Tom Ryder2013-09-141-31/+22
|
* Explicitly unset variablesTom Ryder2013-09-141-2/+2
|
* Handle empty .bashrc.d/.profile.d dirsTom Ryder2013-09-021-1/+1
|
* Hook prevents loading unwanted bash-completionTom Ryder2013-08-281-0/+3
| | | | This speeds up logins by a *lot*
* Move options into .bashrcTom Ryder2013-08-281-0/+38
| | | | | May be making use of some of these extra features in my completion scripts, so need to make sure they're loaded first
* Trying without bash-completion for a bitTom Ryder2013-08-281-4/+0
|
* Correct expected bash completion pathTom Ryder2013-08-281-2/+2
|
* No need to test for stty/setterm existenceTom Ryder2013-08-251-6/+2
| | | | If they fail, they fail, and we don't care
* Better var names for subfile config sourcingTom Ryder2013-08-201-3/+3
|
* Fix a few variable contamination issuesTom Ryder2013-08-201-0/+1
|
* More conservative expansion for dotfile pathsTom Ryder2013-08-201-1/+1
|
* Turn off control character echo with sttyTom Ryder2013-08-201-2/+2
|
* Use better test for interactive shellTom Ryder2013-08-201-1/+1
|
* Remove unneeded quoting within [[ ]]Tom Ryder2013-08-201-2/+2
|
* Remove unnecessary variable bracing in .bashrcTom Ryder2013-08-191-2/+2
|
* More thorough quotingTom Ryder2013-08-051-3/+3
|
* Restore stderr redirection for command -vTom Ryder2013-08-021-2/+2
| | | | | Some older versions of Bash seem to spit out "not found" errors for command -v on stderr
* Explicitly check for setup command existenceTom Ryder2013-07-311-2/+6
|
* Stop ignoring error output from setup commandsTom Ryder2013-07-311-2/+2
|
* Use standard structure for if/for in shellTom Ryder2013-07-311-6/+8
| | | | | | | | | | | | | | | | | | | Mostly for clarity reasons; using this syntax: if [ condition ]; then commands fi As opposed to: if [ condition ] then commands fi Or: [ condition ] && command
* Dropped a newlineTom Ryder2013-07-211-0/+1
|
* Move Bash options into separate fileTom Ryder2013-07-211-38/+0
|
* Move aliases into separate fileTom Ryder2013-07-201-15/+0
|
* Ignore error messages from mailwarn optionTom Ryder2013-07-181-1/+1
|
* Tidier layout, start using .bash_profile againTom Ryder2013-07-121-1/+1
| | | | Shouldn't refer to Bash stuff in Bourne shell profile
* Somehow misplaced my "shut up mail" rulesTom Ryder2013-06-251-0/+4
|
* Massive overhaul of structure for Bash filesTom Ryder2013-06-201-178/+36
| | | | | | | | | | | * No longer using .bash_logout * No longer using .bash_profile, using POSIX-compliant .profile * instead; in particular, moved most of environment settings into .profile * Moved some of the separable functionality of both .profile and .bashrc into subdirectories (some scripts shared, some not) * Tidied implementation of ls/grep aliases * Updated install script to reflect all of the above
* Set up my environment vars correctlyTom Ryder2013-06-191-29/+0
|
* Handle null arguments to cdTom Ryder2013-05-261-1/+3
|
* Emulate zsh dir replacement featureTom Ryder2013-05-261-0/+9
|
* Explicit env variable exportsTom Ryder2013-05-261-3/+3
|
* More intelligent PATH calculationTom Ryder2013-05-261-13/+13
|
* Use utf-8 linedrawing for tree(1)Tom Ryder2013-03-111-0/+3
|
* Turns out this is unnecessaryTom Ryder2013-03-111-3/+0
|