aboutsummaryrefslogtreecommitdiff
path: root/sh/profile.d/options.sh
AgeCommit message (Collapse)AuthorFilesLines
2020-04-30Force unwanted --quoting-style option to ls(1) offTom Ryder1-0/+1
2018-12-27Two-space sentences in shell commentsTom Ryder1-1/+1
2018-12-17Use `command` consistently, silence ShellCheckTom Ryder1-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.
2018-12-11Refactor some conditionalsTom Ryder1-2/+3
2018-12-06Remove unneeded semicolon from sh "for VAR ; do"Tom Ryder1-1/+1
It turns out the semicolon belongs to the "in" syntax, and is optional without it.
2018-11-23Remove a lot of alignment spacingTom Ryder1-7/+7
2017-04-12Use more logical ~/.cache subpathTom Ryder1-1/+1
2017-01-27s/exit/return/ in ex-subshell funcTom Ryder1-4/+4
2017-01-25Avoid a fork in options detectionTom Ryder1-8/+9
2017-01-11Use POSIX-compatible versions of ls(1) optsTom Ryder1-7/+4
2016-08-27Use only system-path mkdir/grep for options setupTom Ryder1-2/+2
A little quicker
2016-08-27Fix some comments in options.shTom Ryder1-2/+2
2016-08-25Remove unneeded { } around options() funcTom Ryder1-2/+2
I'm learning a lot from izabera today
2016-08-25Switch ls()/readline to horizontal list/completeTom Ryder1-0/+1
<https://github.com/izabera/libash/blob/9e709a56a148b4311792cc66cd21b61a73434573/extras/sample_inputrc#L33>
2016-08-24Force --hide-control-chars on ls(1) if availableTom Ryder1-5/+6
I prefer it to literal or C-style escaping representations, and ls(1) isn't for scripting output anyway.
2016-08-21Consolidate ed,bc,grep,ls.sh into one functionTom Ryder1-0/+55