aboutsummaryrefslogtreecommitdiff
path: root/bash/bashrc
Commit message (Collapse)AuthorAgeFilesLines
* Move .bashrc interactivity test to topTom Ryder2016-08-221-6/+6
|
* Remove double-up import of completionsTom Ryder2016-08-211-17/+0
|
* Many stylistic fixes/optimisationsTom Ryder2016-08-211-17/+7
| | | | In particular, limit the verbose >=2.05 test to just one file: .bashrc
* Use dynamic completion if availableTom Ryder2016-08-211-3/+18
|
* Anticipate Bath versions > 4Tom Ryder2016-08-211-1/+1
|
* Drastically limit amount of history keptTom Ryder2016-08-181-4/+4
| | | | | | Reading really large files seems to be slow in Bash in general, but it's particularly bad in 4.4rc1. I keep encrypted snapshots of my HISTFILE on my home machine, so it's just a little extra step to search them.
* Use explicit -n test within [[ ]]Tom Ryder2016-08-181-1/+1
| | | | | Bash doesn't require it, but there's no real advantage to it and it's a better habit for complying with e.g. pdksh, which does
* Use consistent syntax for sh source loopsTom Ryder2016-08-181-2/+1
|
* Update bashrc/zshrc with POSIX funcs sourceTom Ryder2016-08-171-1/+1
|
* Simplify end-of-file loop in bashrcTom Ryder2016-08-171-24/+8
|
* Source ~/.shrc.d in Bash if not login shellTom Ryder2016-08-171-0/+12
|
* Move interactive tests back into *rc filesTom Ryder2016-08-171-0/+6
| | | | | | I don't fully understand why I have to do it this way yet, but if I don't, calling SSH with a command raises "stdin: not a terminal" because ~/.bashrc was called.
* Move -i test in Bash to end of ~/.bash_profileTom Ryder2016-08-171-5/+0
|
* Use terser syntax for .d loop sourcesTom Ryder2016-07-301-16/+10
|
* Move bash completion setup into separate dirTom Ryder2016-07-301-0/+10
|
* Remove unneeded linebreak backslashesTom Ryder2016-06-211-1/+1
| | | | | | | | | | | Handy command: $ find bin sh bash -type f -exec grep \ -e '|| \\$' \ -e '&& \\$' \ -e '^\s*||' \ -e '^\s*&&' \ {} +
* Remove blank lines at end of filesTom Ryder2016-03-281-1/+0
|
* Strip colons from COMP_WORDBREAKSTom Ryder2015-11-271-5/+6
| | | | <http://tiswww.case.edu/php/chet/bash/FAQ> E13
* Fix COMP_WORDBREAKSTom Ryder2015-11-271-0/+6
|
* Appease shellcheck with multi arith expsTom Ryder2015-10-021-2/+2
|
* Simplify Bash version checks a bit moreTom Ryder2015-09-251-9/+9
|
* Remove overkill chopping on BASH_VERSINFO[0]Tom Ryder2015-08-221-4/+4
| | | | Pointed out by Amy Grace.
* Disable aliasesTom Ryder2015-07-031-0/+3
|
* Use bit shifting not exponentiationTom Ryder2015-06-261-2/+2
|
* May as well keep a huge amount of historyTom Ryder2015-06-161-2/+2
| | | | Even on my busiest system it's only a megabyte
* Keep a bit more history in memoryTom Ryder2015-06-161-2/+2
| | | | | Amounts to less than 172kb on my system, not really worth worrying about it, and get a few days' history at least this way
* Use two more history optionsTom Ryder2015-06-081-0/+4
|
* Disable aliasesTom Ryder2015-06-081-0/+2
|
* Set direxpand if available (very new option)Tom Ryder2015-06-081-0/+6
|
* Tidy up line-split conditionalTom Ryder2015-06-081-2/+2
|
* Check existence of subfilesTom Ryder2015-06-071-1/+3
|
* Add newlineTom Ryder2015-06-071-0/+1
|
* Use magic-space expansion for !histTom Ryder2015-06-061-2/+0
|
* No real need to use use test over [...]Tom Ryder2015-06-041-1/+1
|
* Don't clobber $_ (changed my mind)Tom Ryder2015-05-311-2/+3
|
* Align multiline if conditionsTom Ryder2015-05-291-5/+5
|
* Missing = sign in version commentTom Ryder2015-05-271-1/+1
|
* Add missing globs for version testsTom Ryder2015-05-271-4/+4
|
* Correct typo in version numberTom Ryder2015-05-271-1/+1
|
* Work around shopt checkjobs bug with Bash 4.0Tom Ryder2015-05-271-2/+7
| | | | <https://lists.gnu.org/archive/html/bug-bash/2009-02/msg00176.html>
* More robust/careful version checkingTom Ryder2015-05-271-3/+6
|
* Nix .bashrc if running in restricted shellTom Ryder2015-05-251-0/+5
|
* Slightly clearer commentTom Ryder2015-05-251-1/+1
|
* Use $_ for source parts topic varTom Ryder2015-05-181-3/+2
|
* Move unset in run-parts bashrc/profile sourceTom Ryder2015-05-151-1/+1
|
* histverify for safetyTom Ryder2015-04-151-0/+2
|
* Raise error message if .d sh file can't be readTom Ryder2015-01-291-3/+1
|
* Turn off write(1) accessTom Ryder2014-11-221-0/+3
|
* More explicitly use test builtin for version testTom Ryder2014-10-211-1/+1
|
* Remembered that VERSINFO[2] is broken on 2.05aTom Ryder2014-10-131-8/+2
| | | | Thinks it's octal :(