aboutsummaryrefslogtreecommitdiff
path: root/sh/profile.d/options.sh
Commit message (Collapse)AuthorAgeFilesLines
* Force unwanted --quoting-style option to ls(1) offTom Ryder2020-04-301-0/+1
|
* Two-space sentences in shell commentsTom Ryder2018-12-271-1/+1
|
* Use `command` consistently, silence ShellCheckTom Ryder2018-12-171-2/+2
| | | | | | | | | | ShellCheck (SC2164) is upset about these `cd` commands where the return type isn't being checked, but they're all by design, as they're the last command in the function, and thereby constitute the function's return value implicitly. Otherwise, this commit changes the shrc.d and profile.d subfiles to use the `command` wrapper only where it's actually needed.
* Refactor some conditionalsTom Ryder2018-12-111-2/+3
|
* Remove unneeded semicolon from sh "for VAR ; do"Tom Ryder2018-12-061-1/+1
| | | | | It turns out the semicolon belongs to the "in" syntax, and is optional without it.
* Remove a lot of alignment spacingTom Ryder2018-11-231-7/+7
|
* Use more logical ~/.cache subpathTom Ryder2017-04-121-1/+1
|
* s/exit/return/ in ex-subshell funcTom Ryder2017-01-271-4/+4
|
* Avoid a fork in options detectionTom Ryder2017-01-251-8/+9
|
* Use POSIX-compatible versions of ls(1) optsTom Ryder2017-01-111-7/+4
|
* Use only system-path mkdir/grep for options setupTom Ryder2016-08-271-2/+2
| | | | A little quicker
* Fix some comments in options.shTom Ryder2016-08-271-2/+2
|
* Remove unneeded { } around options() funcTom Ryder2016-08-251-2/+2
| | | | I'm learning a lot from izabera today
* Switch ls()/readline to horizontal list/completeTom Ryder2016-08-251-0/+1
| | | | <https://github.com/izabera/libash/blob/9e709a56a148b4311792cc66cd21b61a73434573/extras/sample_inputrc#L33>
* Force --hide-control-chars on ls(1) if availableTom Ryder2016-08-241-5/+6
| | | | | I prefer it to literal or C-style escaping representations, and ls(1) isn't for scripting output anyway.
* Consolidate ed,bc,grep,ls.sh into one functionTom Ryder2016-08-211-0/+55