Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Restructure ed() to test,cache features on login | Tom Ryder | 2016-08-21 | 2 | -20/+40 |
| | |||||
* | Cache --quiet option for bc(1) in flag file | Tom Ryder | 2016-08-21 | 2 | -4/+33 |
| | | | | As done for grep(1) and ls(1); ed(1) is next | ||||
* | Add la(), ll() | Tom Ryder | 2016-08-21 | 3 | -1/+22 |
| | |||||
* | Adjust ordering of ls() and grep() options | Tom Ryder | 2016-08-21 | 2 | -34/+35 |
| | |||||
* | Clean up/extend grep()/ls() extension | Tom Ryder | 2016-08-21 | 4 | -28/+46 |
| | |||||
* | Remove single quotes within vr() subshell | Tom Ryder | 2016-08-21 | 1 | -3/+3 |
| | |||||
* | Remove apostrophe from comment to calm pdksh | Tom Ryder | 2016-08-21 | 1 | -1/+1 |
| | | | | | To my considerable surprise, OpenPSD pdksh sees this apostrophe within this subshell wrapper as an *open quote*! | ||||
* | Add --devices and --directories to grep(1) opts | Tom Ryder | 2016-08-21 | 2 | -2/+16 |
| | |||||
* | Correct path() error messages | Tom Ryder | 2016-08-20 | 1 | -4/+4 |
| | |||||
* | Correct empty var reference | Tom Ryder | 2016-08-20 | 1 | -2/+1 |
| | |||||
* | Write path() help to stderr if unrec command | Tom Ryder | 2016-08-20 | 1 | -1/+1 |
| | |||||
* | Dance for shellcheck in path() | Tom Ryder | 2016-08-20 | 1 | -5/+8 |
| | |||||
* | Port path() to POSIX sh | Tom Ryder | 2016-08-20 | 1 | -0/+93 |
| | | | | That was a lot easier than I thought | ||||
* | Port vr(1) to POSIX sh | Tom Ryder | 2016-08-20 | 1 | -0/+49 |
| | |||||
* | Port lhn() to POSIX sh | Tom Ryder | 2016-08-20 | 1 | -0/+12 |
| | |||||
* | Basic PS1 setup for shrc | Tom Ryder | 2016-08-20 | 1 | -0/+3 |
| | | | | | Will be overridden completely by Bash or OpenBSD pdksh prompt() functions | ||||
* | Port sd() to POSIX sh | Tom Ryder | 2016-08-20 | 1 | -0/+82 |
| | |||||
* | Port pd() to POSIX sh | Tom Ryder | 2016-08-20 | 1 | -0/+37 |
| | |||||
* | Correctly bail from failed subshell | Tom Ryder | 2016-08-20 | 3 | -8/+9 |
| | |||||
* | Port ud() to POSIX sh | Tom Ryder | 2016-08-20 | 1 | -0/+42 |
| | |||||
* | Remove option term spec from bd() | Tom Ryder | 2016-08-20 | 1 | -7/+3 |
| | | | | It doesn't accept options; cd() needs to because it's a wrapper | ||||
* | Improve error handling of cd() a bit | Tom Ryder | 2016-08-20 | 1 | -17/+21 |
| | |||||
* | Port bd() to POSIX sh | Tom Ryder | 2016-08-20 | 1 | -0/+67 |
| | |||||
* | Remove OLDPWD hack | Tom Ryder | 2016-08-20 | 2 | -24/+0 |
| | | | | It doesn't really make sense anyway | ||||
* | Move oldpwd.sh functionality into profile | Tom Ryder | 2016-08-20 | 2 | -10/+11 |
| | |||||
* | Port all bash_profile.d scripts to POSIX sh | Tom Ryder | 2016-08-20 | 4 | -0/+72 |
| | | | | | 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 | 2 | -0/+17 |
| | | | | With an attempt at correct trapping; may still require tweaking | ||||
* | Change cd() into POSIX shell script | Tom Ryder | 2016-08-19 | 1 | -0/+72 |
| | |||||
* | Suppress stderr from command -v checks | Tom Ryder | 2016-08-18 | 4 | -5/+5 |
| | | | | | Now I remember--old Bash prints failure messages to stderr for this call. That'll be why I was suppressing both streams initially. | ||||
* | Use consistent syntax for sh source loops | Tom Ryder | 2016-08-18 | 2 | -8/+6 |
| | |||||
* | Arrange EDITOR/VISUAL in a more typical way | Tom Ryder | 2016-08-18 | 2 | -4/+6 |
| | |||||
* | 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 | 1 | -0/+8 |
| | |||||
* | Do away with dircolors and LS_COLORS | Tom Ryder | 2016-08-18 | 1 | -12/+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 | 3 | -8/+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 |
| | |||||
* | Allow mksh to use pdksh's startup files | Tom Ryder | 2016-08-17 | 1 | -1/+1 |
| | |||||
* | Explain ksh.sh a bit more | Tom Ryder | 2016-08-17 | 1 | -1/+3 |
| | |||||
* | 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 |
| | |||||
* | Move interactive tests back into *rc files | Tom Ryder | 2016-08-17 | 2 | -4/+10 |
| | | | | | | 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. | ||||
* | Include shrc.d in check-sh target | Tom Ryder | 2016-08-17 | 1 | -2/+2 |
| | | | | Quote a string entirely to appease shellcheck too | ||||
* | Add parens after hgrep() name in error | Tom Ryder | 2016-08-17 | 1 | -2/+2 |
| | |||||
* | Move simple Bash/pdksh functions into POSIX sh | Tom Ryder | 2016-08-17 | 18 | -0/+174 |
| | | | | | | | 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. | ||||
* | Keep ls(1) option metadata in cache | Tom Ryder | 2016-08-15 | 1 | -15/+28 |
| | |||||
* | Keep grep(1) option metadata in cache | Tom Ryder | 2016-08-15 | 1 | -11/+26 |
| | | | | | | | | | It's stupid to run `grep --help` once per shell (twice for login shells!) when it's so unlikely to change, and way faster to check for the presence or absence of hint files rather than pattern-match the output with the shell. ls(1) will get the same treatment in a minute. | ||||
* | Name/point pdksh files specifically | Tom Ryder | 2016-08-10 | 1 | -6/+8 |
| | | | | | This frees up space to implement actual ksh88/ksh93 files specifically in future, as pdksh's feature set differs considerably | ||||
* | Add some notes about ENV for Bash | Tom Ryder | 2016-08-09 | 1 | -1/+4 |
| | |||||
* | Rename ksh.sh profile.d subscript to env.sh | Tom Ryder | 2016-08-09 | 1 | -0/+0 |
| | | | | To accommodate the possibility of other shells needing to set it | ||||
* | Set ENV appropriately if using ksh | Tom Ryder | 2016-08-09 | 1 | -0/+5 |
| | | | | It may end up being better to have a file "env.sh". |