aboutsummaryrefslogtreecommitdiff
path: root/sh/profile.d
Commit message (Collapse)AuthorAgeFilesLines
* Add exm(1df) to work around Vim's screen-clearingTom Ryder2017-03-241-1/+10
|
* Use env vars not shell funcs for vim checkTom Ryder2017-03-092-4/+12
| | | | | | Set EDITOR and VISUAL appropriately based on what's on the system. We can't assume ed(1) unfortunately, but ex(1) should be there.
* Add plenv scriptsTom Ryder2017-02-261-0/+5
| | | | | Probably worthwhile given I use it on several systems and it's not expensive to check whether it exists.
* Use short-circuits in .profile.d scriptsTom Ryder2017-02-182-5/+6
|
* 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
|
* Much simpler LC_COLLATE approachTom Ryder2017-01-091-15/+4
|
* Force LC_COLLATE to a sane valueTom Ryder2017-01-091-0/+15
| | | | | | | | It always really annoys me when e.g. the leading dot or leading slash in pathnames or filenames gets ignored for the purposes of sorting. I may refine this later on but it seems like a good start for an approach.
* Put operating system into OS env varTom Ryder2016-12-281-0/+3
|
* Refactor welcome.shTom Ryder2016-09-011-38/+29
|
* Make comment on BROWSER more usefulTom Ryder2016-08-311-1/+2
|
* Move SSH_ASKPASS setup to ~/.xinitrcTom Ryder2016-08-271-4/+0
|
* 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
|
* Combine welcome messages into one scriptTom Ryder2016-08-254-69/+54
|
* 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.
* Initialise last varTom Ryder2016-08-231-0/+1
|
* Abbreviation in fortune.shTom Ryder2016-08-231-2/+1
|
* Change verse login check to use numeric testTom Ryder2016-08-231-2/+2
| | | | shellcheck warned me that \> isn't POSIX
* Correct stderr redirection for keychain(1) checkTom Ryder2016-08-231-1/+1
|
* Stop versioning go.shTom Ryder2016-08-211-6/+0
| | | | | Pretty simple script, and only in active use on one of my systems at the moment anyway; just cluttering environment otherwise
* Style tweaks to profile.d subscriptsTom Ryder2016-08-214-13/+4
|
* Consolidate ed,bc,grep,ls.sh into one functionTom Ryder2016-08-215-98/+55
|
* Distill/fix keychain handling a bitTom Ryder2016-08-211-10/+5
|
* Restructure ed() to test,cache features on loginTom Ryder2016-08-211-0/+22
|
* Cache --quiet option for bc(1) in flag fileTom Ryder2016-08-211-0/+22
| | | | As done for grep(1) and ls(1); ed(1) is next
* Add la(), ll()Tom Ryder2016-08-211-1/+2
|
* Clean up/extend grep()/ls() extensionTom Ryder2016-08-212-4/+10
|
* Add --devices and --directories to grep(1) optsTom Ryder2016-08-211-2/+8
|
* Move oldpwd.sh functionality into profileTom Ryder2016-08-201-5/+0
|
* Port all bash_profile.d scripts to POSIX shTom Ryder2016-08-203-0/+71
| | | | | Also require flag files in ~/.welcome for displaying or not displaying login stuff
* Suppress stderr from command -v checksTom Ryder2016-08-182-3/+3
| | | | | Now I remember--old Bash prints failure messages to stderr for this call. That'll be why I was suppressing both streams initially.
* Arrange EDITOR/VISUAL in a more typical wayTom Ryder2016-08-182-4/+6
|
* Fix up some command builtin callsTom Ryder2016-08-182-3/+3
|
* Do away with dircolors and LS_COLORSTom Ryder2016-08-181-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 shTom Ryder2016-08-181-8/+1
| | | | | | 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.
* Move ksh ENV handling into shrc.dTom Ryder2016-08-171-10/+0
|
* Keep ls(1) option metadata in cacheTom Ryder2016-08-151-15/+28
|
* Keep grep(1) option metadata in cacheTom Ryder2016-08-151-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 specificallyTom Ryder2016-08-101-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 BashTom Ryder2016-08-091-1/+4
|
* Rename ksh.sh profile.d subscript to env.shTom Ryder2016-08-091-0/+0
| | | | To accommodate the possibility of other shells needing to set it
* Set ENV appropriately if using kshTom Ryder2016-08-091-0/+5
| | | | It may end up being better to have a file "env.sh".
* Use less(1) as PAGER if availableTom Ryder2016-07-151-0/+7
|
* Separate games out into own directory/targetsTom Ryder2016-06-241-0/+4
|
* Correct a commentTom Ryder2016-06-171-1/+1
|
* Remove blank lines at end of filesTom Ryder2016-03-288-8/+0
|