Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Move OLDPWD setting to POSIX sh dir | Tom Ryder | 2016-08-20 | 4 | -3/+18 |
| | | | | With an attempt at correct trapping; may still require tweaking | ||||
* | Remove debugging code from eds(1) | Tom Ryder | 2016-08-19 | 1 | -2/+1 |
| | |||||
* | Update documentation for br(1) and xgo(1) | Tom Ryder | 2016-08-19 | 2 | -9/+11 |
| | |||||
* | Clean up temporary files before apf(1) exec | Tom Ryder | 2016-08-19 | 1 | -0/+3 |
| | |||||
* | Strip trailing whitespace from apf(1) | Tom Ryder | 2016-08-19 | 1 | -2/+2 |
| | |||||
* | Add a POSIX compatibility issue | Tom Ryder | 2016-08-19 | 1 | -0/+2 |
| | |||||
* | Correct a comment in edda(1) | Tom Ryder | 2016-08-19 | 1 | -1/+1 |
| | |||||
* | Port eds(1) to POSIX sh(1) | Tom Ryder | 2016-08-19 | 2 | -46/+37 |
| | | | | | | | | Even managed to keep the options. Removed issue about Bash scripts; han(1) needs to be Bash as it's specifically for the Bash help() builtin. There's no advantage to making it POSIX. | ||||
* | Translate apf(1) to POSIX sh | Tom Ryder | 2016-08-19 | 4 | -59/+80 |
| | | | | | | | | | | | We lose the ability to include newlines in options, but probably a pretty good tradeoff, especially since it makes the *rc files hand-editable in theory. Also add skipping comments and blank lines. Update ISSUES.markdown. There are two more Bash scripts left; one of them, han(1), does actually require Bash, though. | ||||
* | Correct stws(1)'s self-identifying | Tom Ryder | 2016-08-19 | 1 | -1/+1 |
| | |||||
* | Port edda(1) to POSIX sh | Tom Ryder | 2016-08-19 | 3 | -32/+20 |
| | | | | | Losing the option-passing; could perhaps add this in again by specifically supporting POSIX-specific options for ed(1) | ||||
* | Add issue | Tom Ryder | 2016-08-19 | 1 | -0/+3 |
| | |||||
* | Change cd() into POSIX shell script | Tom Ryder | 2016-08-19 | 3 | -34/+74 |
| | |||||
* | Flag issue fixed | Tom Ryder | 2016-08-19 | 1 | -5/+0 |
| | |||||
* | Flag a remaining Bash script converted | Tom Ryder | 2016-08-19 | 1 | -1/+0 |
| | |||||
* | Add a completion issue | Tom Ryder | 2016-08-19 | 1 | -0/+3 |
| | |||||
* | Remove resolved issue | Tom Ryder | 2016-08-19 | 1 | -5/+0 |
| | |||||
* | Add lhn() | Tom Ryder | 2016-08-18 | 2 | -0/+8 |
| | |||||
* | Drastically limit amount of history kept | Tom Ryder | 2016-08-18 | 3 | -7/+7 |
| | | | | | | 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. | ||||
* | Suppress stderr from command -v checks | Tom Ryder | 2016-08-18 | 7 | -8/+8 |
| | | | | | Now I remember--old Bash prints failure messages to stderr for this call. That'll be why I was suppressing both streams initially. | ||||
* | Update submodules | Tom Ryder | 2016-08-18 | 2 | -0/+0 |
| | |||||
* | 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 | 5 | -19/+12 |
| | |||||
* | Arrange EDITOR/VISUAL in a more typical way | Tom Ryder | 2016-08-18 | 4 | -8/+10 |
| | |||||
* | Fix up some command builtin calls | Tom Ryder | 2016-08-18 | 2 | -3/+3 |
| | |||||
* | Sort the output of env(1) if no arguments | Tom Ryder | 2016-08-18 | 2 | -0/+11 |
| | |||||
* | Do away with dircolors and LS_COLORS | Tom Ryder | 2016-08-18 | 4 | -136/+1 |
| | | | | | | | The default colors are just fine; I want to be able to distinguish directories, devices, links, and executable files, and those all appear to be configured by default. The giant environment variable is too annoying for too little benefit. | ||||
* | Port grep() and ls() to POSIX sh | Tom Ryder | 2016-08-18 | 5 | -63/+51 |
| | | | | | | 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. | ||||
* | Replace Bashism "hash" with POSIX sh "command" | Tom Ryder | 2016-08-18 | 1 | -1/+1 |
| | |||||
* | Add note about Zsh | Tom Ryder | 2016-08-18 | 1 | -0/+5 |
| | |||||
* | Adjust order of Makefile targets | Tom Ryder | 2016-08-18 | 1 | -6/+6 |
| | |||||
* | Allow mksh to use pdksh's startup files | Tom Ryder | 2016-08-17 | 1 | -1/+1 |
| | |||||
* | Make install-{bash,zsh} depend on install-sh | Tom Ryder | 2016-08-17 | 1 | -2/+2 |
| | |||||
* | Update bashrc/zshrc with POSIX funcs source | Tom Ryder | 2016-08-17 | 2 | -1/+4 |
| | |||||
* | Explain ksh.sh a bit more | Tom Ryder | 2016-08-17 | 1 | -1/+3 |
| | |||||
* | Simplify end-of-file loop in bashrc | Tom Ryder | 2016-08-17 | 1 | -24/+8 |
| | |||||
* | Move ksh ENV handling into shrc.d | Tom Ryder | 2016-08-17 | 2 | -10/+8 |
| | |||||
* | Handle setting ENV from ~/.profile | Tom Ryder | 2016-08-17 | 1 | -3/+4 |
| | |||||
* | Use terser loop syntax in ~/.bash_profile | Tom Ryder | 2016-08-17 | 1 | -3/+2 |
| | |||||
* | Source ~/.shrc.d in Bash if not login shell | Tom Ryder | 2016-08-17 | 1 | -0/+12 |
| | |||||
* | Move interactive tests back into *rc files | Tom Ryder | 2016-08-17 | 4 | -8/+20 |
| | | | | | | 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 completion section below function section | Tom Ryder | 2016-08-17 | 1 | -22/+22 |
| | |||||
* | Include shrc.d in check-sh target | Tom Ryder | 2016-08-17 | 2 | -3/+3 |
| | | | | Quote a string entirely to appease shellcheck too | ||||
* | Update README to reflect change of shell funcs | Tom Ryder | 2016-08-17 | 1 | -10/+43 |
| | |||||
* | Add parens after hgrep() name in error | Tom Ryder | 2016-08-17 | 1 | -2/+2 |
| | |||||
* | Merge branch 'posix-functions' | Tom Ryder | 2016-08-17 | 36 | -173/+50 |
|\ | |||||
| * | Move -i test in Bash to end of ~/.bash_profile | Tom Ryder | 2016-08-17 | 2 | -9/+4 |
| | | |||||
| * | Move simple Bash/pdksh functions into POSIX sh | Tom Ryder | 2016-08-17 | 34 | -164/+46 |
|/ | | | | | | | Have only translated the scripts that translate readily into POSIX sh for now. More complex stuff like that bd/pd/sd/ud navigation for Bash doesn't port as easily, mostly because there isn't an analogue for the "local" keyword in POSIX. | ||||
* | Only pull if rebase possible | Tom Ryder | 2016-08-17 | 1 | -0/+3 |
| | | | | Force me to fetch and merge properly otherwise |