aboutsummaryrefslogtreecommitdiff
path: root/bash/bashrc
Commit message (Collapse)AuthorAgeFilesLines
* Break sh noglob guard into two lines for clarityTom Ryder2018-06-291-1/+2
| | | | They're nicer to read this way.
* Correct typo in .bashrcTom Ryder2018-06-291-1/+1
|
* Unset command_not_found_handle in Bash startupTom Ryder2017-06-101-0/+3
|
* More accurate commend for hostcomplete (turn off)Tom Ryder2017-02-121-2/+2
|
* Improve and correct some commentsTom Ryder2017-02-101-24/+26
|
* Start using Bash host completionTom Ryder2017-01-281-2/+2
| | | | But use ~/.hosts if it's there
* Clear away all aliases for interactive shellsTom Ryder2017-01-251-0/+5
| | | | | | | | | Some systems like OpenBSD or Slackware set up well-meaning aliases that I don't want. We do this for Bash, Yash, and Zsh, but not for Ksh, because it looks like its implementations all variously use aliases to implement some POSIX builtins like fc(1) or type(1) in terms of their own builtins.
* Soothe a shellcheck errorTom Ryder2017-01-031-0/+1
|
* Short-circuit in rbash before even loading ENVTom Ryder2017-01-031-3/+4
|
* Move TMUX_SHLVL trick into shrc.dTom Ryder2016-12-181-7/+0
|
* Handle tmux sessions showing SHLVL properlyTom Ryder2016-11-301-0/+7
|
* Clearer glob for version testTom Ryder2016-09-201-1/+1
|
* Allow aliases, just don't use themTom Ryder2016-09-201-5/+0
|
* Source $ENV even if running ancient BashTom Ryder2016-09-181-2/+6
|
* Move HISTSIZE and MAILCHECK to shrcTom Ryder2016-09-011-6/+0
| | | | Turns out they're POSIX variables!
* Move COMP_WORDBREAKS tweaks to completion subfileTom Ryder2016-08-291-5/+0
|
* Correct comment in bashrcTom Ryder2016-08-271-2/+1
|
* Move bash-independent code ~/.bashrc -> ~/.shrcTom Ryder2016-08-271-9/+0
|
* Add `lithist` to shell optionsTom Ryder2016-08-261-0/+2
|
* Add TIMEFORMATTom Ryder2016-08-251-0/+3
|
* Bump history limits back up a bitTom Ryder2016-08-241-4/+4
| | | | Let's see if this actually does slow things down as much as I thought
* Expand and whitelist BASH_VERSINFO check in han(1)Tom Ryder2016-08-231-0/+1
|
* 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
|