aboutsummaryrefslogtreecommitdiff
path: root/sh/shrc.d
Commit message (Collapse)AuthorAgeFilesLines
* Restructure ed() to test,cache features on loginTom Ryder2016-08-211-20/+18
|
* Cache --quiet option for bc(1) in flag fileTom Ryder2016-08-211-4/+11
| | | | As done for grep(1) and ls(1); ed(1) is next
* Add la(), ll()Tom Ryder2016-08-212-0/+20
|
* Adjust ordering of ls() and grep() optionsTom Ryder2016-08-212-34/+35
|
* Clean up/extend grep()/ls() extensionTom Ryder2016-08-212-24/+36
|
* Remove single quotes within vr() subshellTom Ryder2016-08-211-3/+3
|
* Remove apostrophe from comment to calm pdkshTom Ryder2016-08-211-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) optsTom Ryder2016-08-211-0/+8
|
* Correct path() error messagesTom Ryder2016-08-201-4/+4
|
* Correct empty var referenceTom Ryder2016-08-201-2/+1
|
* Write path() help to stderr if unrec commandTom Ryder2016-08-201-1/+1
|
* Dance for shellcheck in path()Tom Ryder2016-08-201-5/+8
|
* Port path() to POSIX shTom Ryder2016-08-201-0/+93
| | | | That was a lot easier than I thought
* Port vr(1) to POSIX shTom Ryder2016-08-201-0/+49
|
* Port lhn() to POSIX shTom Ryder2016-08-201-0/+12
|
* Basic PS1 setup for shrcTom Ryder2016-08-201-0/+3
| | | | | Will be overridden completely by Bash or OpenBSD pdksh prompt() functions
* Port sd() to POSIX shTom Ryder2016-08-201-0/+82
|
* Port pd() to POSIX shTom Ryder2016-08-201-0/+37
|
* Correctly bail from failed subshellTom Ryder2016-08-203-8/+9
|
* Port ud() to POSIX shTom Ryder2016-08-201-0/+42
|
* Remove option term spec from bd()Tom Ryder2016-08-201-7/+3
| | | | It doesn't accept options; cd() needs to because it's a wrapper
* Improve error handling of cd() a bitTom Ryder2016-08-201-17/+21
|
* Port bd() to POSIX shTom Ryder2016-08-201-0/+67
|
* Change cd() into POSIX shell scriptTom Ryder2016-08-191-0/+72
|
* Suppress stderr from command -v checksTom Ryder2016-08-182-2/+2
| | | | | Now I remember--old Bash prints failure messages to stderr for this call. That'll be why I was suppressing both streams initially.
* Sort the output of env(1) if no argumentsTom Ryder2016-08-181-0/+8
|
* Port grep() and ls() to POSIX shTom Ryder2016-08-182-0/+50
| | | | | | 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 Ryder2016-08-181-1/+1
|
* Allow mksh to use pdksh's startup filesTom Ryder2016-08-171-1/+1
|
* Explain ksh.sh a bit moreTom Ryder2016-08-171-1/+3
|
* Move ksh ENV handling into shrc.dTom Ryder2016-08-171-0/+8
|
* Include shrc.d in check-sh targetTom Ryder2016-08-171-2/+2
| | | | Quote a string entirely to appease shellcheck too
* Add parens after hgrep() name in errorTom Ryder2016-08-171-2/+2
|
* Move simple Bash/pdksh functions into POSIX shTom Ryder2016-08-1716-0/+162
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.