aboutsummaryrefslogtreecommitdiff
path: root/sh/shrc.d
Commit message (Collapse)AuthorAgeFilesLines
* Move pwgen() wrapper into pwg(1df)Tom Ryder2016-12-191-7/+0
|
* Remove diff()/rcsdiff() function wrappersTom Ryder2016-12-192-20/+0
| | | | | More trouble than they're worth, and looking at my shell history it looks like I type out the -u all the time anyway
* Make diff default even more conservativeTom Ryder2016-12-191-3/+3
|
* Only add -u to diff() call if more than two argsTom Ryder2016-12-191-1/+13
|
* Remove lhn()Tom Ryder2016-12-191-12/+0
| | | | Not portable, and I never use it anyway
* Attempt a much saner approach to managing SHLVLTom Ryder2016-12-191-9/+0
|
* Move TMUX_SHLVL trick into shrc.dTom Ryder2016-12-181-0/+9
|
* Move ksh.sh shim into ksh subdirTom Ryder2016-12-171-30/+0
| | | | | So it doesn't get installed on systems where I don't use ksh, since it's mostly not needed
* Second try at compatible ksh testTom Ryder2016-12-171-6/+4
| | | | I guess this is my life now
* Improve ksh version test to catch ksh93s+Tom Ryder2016-12-171-1/+25
| | | | And hopefully all versions below
* Add a second version check to detect kshTom Ryder2016-12-171-1/+1
|
* Rename all pdksh stuff to kshTom Ryder2016-12-171-6/+4
| | | | As part of a foray into more active use of ksh and derivatives.
* Add ad()Tom Ryder2016-12-131-0/+77
|
* Use opening parens for case safety in subshellTom Ryder2016-12-112-10/+10
|
* Prevent getopts call in tree() panickingTom Ryder2016-12-071-1/+2
|
* Remove some trailing whitespaceTom Ryder2016-10-192-2/+2
|
* Use simpler method for `path check`Tom Ryder2016-09-261-5/+6
| | | | Easier to read and does not require a subshell
* Correct a commentTom Ryder2016-09-181-2/+2
|
* Use more compatible block size for ls(1)Tom Ryder2016-08-311-1/+1
| | | | | Ancient GNU ls(1) accepts this even if it doesn't use it in the same way a more modern one does (requiring -S to show the blocks used).
* Add x()Tom Ryder2016-08-301-0/+7
|
* Fix mysql()Tom Ryder2016-08-301-6/+12
|
* Use command -p to find tty(1)Tom Ryder2016-08-271-1/+1
|
* Improvements to tree() to handle color optionsTom Ryder2016-08-261-3/+25
|
* Add tree()Tom Ryder2016-08-261-0/+9
|
* Remove gore() and lore()Tom Ryder2016-08-252-51/+0
| | | | Changed my mind
* Switch ls()/readline to horizontal list/completeTom Ryder2016-08-251-0/+4
| | | | <https://github.com/izabera/libash/blob/9e709a56a148b4311792cc66cd21b61a73434573/extras/sample_inputrc#L33>
* Reassure shellcheck about ls(1) pipingTom Ryder2016-08-241-0/+1
|
* Add -n to grep(1) call for gore()Tom Ryder2016-08-241-1/+2
|
* Add lore()Tom Ryder2016-08-241-0/+28
|
* Force --hide-control-chars on ls(1) if availableTom Ryder2016-08-241-0/+6
| | | | | I prefer it to literal or C-style escaping representations, and ls(1) isn't for scripting output anyway.
* Rename gress() to gore()Tom Ryder2016-08-241-5/+4
| | | | Important work going on here, folks
* Add gress()Tom Ryder2016-08-241-0/+22
|
* Improve a commentTom Ryder2016-08-241-1/+1
|
* Swap `builtin` for POSIX `command` in mkcd()Tom Ryder2016-08-231-1/+1
|
* Explicitly return from failed `cd` call in scr()Tom Ryder2016-08-231-1/+1
|
* Remove stray Bashism from pwgen() wrapperTom Ryder2016-08-231-2/+1
|
* Set POSIX PS1 before loading subscriptsTom Ryder2016-08-231-3/+0
| | | | So that it's overridden in the correct order by pdksh
* Add comment to vague blockTom Ryder2016-08-231-0/+2
|
* Remove commented apostrophe from within subshellTom Ryder2016-08-231-1/+1
|
* Fix up ?d() functionsTom Ryder2016-08-236-104/+98
| | | | | | Count arguments in right places; return 2 on usage errors where possible; minimise subshell activity; move directory replacement functionality to its own function `rd()` rather than overloading `cd`.
* Use whoami(1) rather than `id -nu`Tom Ryder2016-08-231-1/+1
| | | | | A little bit clearer, and still POSIX; FreeBSD and OpenBSD seem to both have it
* Avoid repetition of KSH_ENV param expansionTom Ryder2016-08-221-2/+2
|
* Distill/fix keychain handling a bitTom Ryder2016-08-211-2/+3
|
* 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*!