Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Move bash-independent code ~/.bashrc -> ~/.shrc | Tom Ryder | 2016-08-27 | 1 | -9/+0 |
| | |||||
* | Add `lithist` to shell options | Tom Ryder | 2016-08-26 | 1 | -0/+2 |
| | |||||
* | Put dotfiles manuals into their own section | Tom Ryder | 2016-08-26 | 2 | -3/+3 |
| | | | | This probably contains a few mistakes | ||||
* | Add TIMEFORMAT | Tom Ryder | 2016-08-25 | 1 | -0/+3 |
| | |||||
* | Show REBASE,MERGE etc in Git prompt | Tom Ryder | 2016-08-25 | 1 | -2/+16 |
| | | | | | Again pretty much pilfered from the contrib git prompt script in the Git source | ||||
* | Show tag name in Git prompt if commit is tagged | Tom Ryder | 2016-08-25 | 1 | -1/+3 |
| | |||||
* | Refine git prompt commands a bit | Tom Ryder | 2016-08-24 | 1 | -3/+4 |
| | | | | Informed by git-prompt.sh from the Git source distribution | ||||
* | Bump history limits back up a bit | Tom Ryder | 2016-08-24 | 1 | -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 Ryder | 2016-08-23 | 1 | -0/+1 |
| | |||||
* | Fully expand FUNCNAME | Tom Ryder | 2016-08-23 | 3 | -12/+12 |
| | |||||
* | Explicitly declare array to reassure shellcheck | Tom Ryder | 2016-08-23 | 1 | -3/+2 |
| | |||||
* | Add -r to read to placate shellcheck | Tom Ryder | 2016-08-23 | 4 | -4/+4 |
| | |||||
* | If HEAD not set, suppress error | Tom Ryder | 2016-08-23 | 1 | -1/+1 |
| | |||||
* | Correct test written in previous commit | Tom Ryder | 2016-08-23 | 1 | -1/+2 |
| | |||||
* | Check SSH_CLIENT *and* SSH_CONNECTION for prompt | Tom Ryder | 2016-08-23 | 1 | -1/+1 |
| | |||||
* | Experiment with abbreviated prompt | Tom Ryder | 2016-08-23 | 1 | -2/+5 |
| | | | | And an even more strict tmux environment | ||||
* | Split completions that use ssh_config(5) hosts | Tom Ryder | 2016-08-22 | 4 | -22/+33 |
| | |||||
* | Move .bashrc interactivity test to top | Tom Ryder | 2016-08-22 | 1 | -6/+6 |
| | |||||
* | Remove double-up import of completions | Tom Ryder | 2016-08-21 | 1 | -17/+0 |
| | |||||
* | Quote a bash->sh variable | Tom Ryder | 2016-08-21 | 1 | -1/+1 |
| | |||||
* | Many stylistic fixes/optimisations | Tom Ryder | 2016-08-21 | 6 | -90/+34 |
| | | | | In particular, limit the verbose >=2.05 test to just one file: .bashrc | ||||
* | Force type for Git ahead/behind counts | Tom Ryder | 2016-08-21 | 1 | -4/+6 |
| | |||||
* | Use dynamic completion if available | Tom Ryder | 2016-08-21 | 3 | -41/+75 |
| | |||||
* | Anticipate Bath versions > 4 | Tom Ryder | 2016-08-21 | 1 | -1/+1 |
| | |||||
* | Use clearer quoting for status flags | Tom Ryder | 2016-08-21 | 1 | -6/+6 |
| | |||||
* | Target terminfo first, then termcap | Tom Ryder | 2016-08-21 | 1 | -9/+9 |
| | |||||
* | Break up long printf lines | Tom Ryder | 2016-08-21 | 1 | -2/+4 |
| | |||||
* | Slightly quicker git/svn detection | Tom Ryder | 2016-08-21 | 1 | -15/+6 |
| | |||||
* | Add some upstream checking to Git prompt | Tom Ryder | 2016-08-21 | 1 | -3/+19 |
| | | | | Also add some comments to be a bit less cryptic | ||||
* | Use terser prompt status flag checks | Tom Ryder | 2016-08-21 | 1 | -8/+4 |
| | |||||
* | Resolve an issue with incorrect prompt info | Tom Ryder | 2016-08-21 | 1 | -0/+3 |
| | | | | | | | | | | | | | From `man 1 git-config`: > diff.autoRefreshIndex > When using git diff to compare with work tree files, do not > consider stat-only change as changed. Instead, silently run git > update-index --refresh to update the cached stat information for > paths whose contents in the work tree match the contents in the > index. This option defaults to true. Note that this affects only > git diff Porcelain, and not lower level diff commands such as git > diff-files. | ||||
* | Update path() completion | Tom Ryder | 2016-08-20 | 1 | -3/+3 |
| | |||||
* | Port path() to POSIX sh | Tom Ryder | 2016-08-20 | 1 | -180/+0 |
| | | | | That was a lot easier than I thought | ||||
* | Port fnl() to POSIX sh script fnl(1) | Tom Ryder | 2016-08-20 | 1 | -41/+0 |
| | | | | | No real compelling reason to make it a shell function in the first place. | ||||
* | Remove readv() and readz() | Tom Ryder | 2016-08-20 | 2 | -29/+0 |
| | | | | Neither are terribly useful | ||||
* | Port vr(1) to POSIX sh | Tom Ryder | 2016-08-20 | 1 | -59/+0 |
| | |||||
* | Port lhn() to POSIX sh | Tom Ryder | 2016-08-20 | 1 | -7/+0 |
| | |||||
* | Port sd() to POSIX sh | Tom Ryder | 2016-08-20 | 1 | -109/+0 |
| | |||||
* | Port pd() to POSIX sh | Tom Ryder | 2016-08-20 | 1 | -53/+0 |
| | |||||
* | Port ud() to POSIX sh | Tom Ryder | 2016-08-20 | 1 | -50/+0 |
| | |||||
* | Port bd() to POSIX sh | Tom Ryder | 2016-08-20 | 1 | -78/+0 |
| | |||||
* | Port all bash_profile.d scripts to POSIX sh | Tom Ryder | 2016-08-20 | 4 | -71/+0 |
| | | | | | Also require flag files in ~/.welcome for displaying or not displaying login stuff | ||||
* | Move OLDPWD setting to POSIX sh dir | Tom Ryder | 2016-08-20 | 1 | -3/+0 |
| | | | | With an attempt at correct trapping; may still require tweaking | ||||
* | Change cd() into POSIX shell script | Tom Ryder | 2016-08-19 | 1 | -32/+0 |
| | |||||
* | Add lhn() | Tom Ryder | 2016-08-18 | 1 | -0/+7 |
| | |||||
* | Drastically limit amount of history kept | Tom Ryder | 2016-08-18 | 1 | -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. | ||||
* | Don't do Git prompt work if not in working tree | Tom Ryder | 2016-08-18 | 1 | -0/+7 |
| | |||||
* | Use explicit -n test within [[ ]] | Tom Ryder | 2016-08-18 | 2 | -3/+3 |
| | | | | | 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 loops | Tom Ryder | 2016-08-18 | 2 | -9/+5 |
| | |||||
* | Port grep() and ls() to POSIX sh | Tom Ryder | 2016-08-18 | 2 | -55/+0 |
| | | | | | | Check capabilities of wrapped programs at runtime, not declaration time. Also do away with the silly GREP_COLORS and GREP_OPTS variables. Considering doing the same with LS_COLORS. |