aboutsummaryrefslogtreecommitdiff
path: root/sh/shrc.d
Commit message (Collapse)AuthorAgeFilesLines
...
| * Add "pop" and "shift" methods to path()Tom Ryder2017-01-251-0/+38
| |
* | Add -D option for FreeBSD ls()Tom Ryder2017-01-251-3/+7
| |
* | Add FreeBSD -G to ls() wrapperTom Ryder2017-01-251-0/+6
|/ | | | Not sure this is the correct approach yet. I'm not sure I like the CLICOLOR environment variable.
* Work around trailing newlines in vr()Tom Ryder2017-01-231-3/+12
| | | | This is ugly, but a better fix isn't evident to me just now.
* Revert "Color ed(1) prompt if possible"Tom Ryder2017-01-181-14/+2
| | | | This reverts commit ffd9d95b6adf5982448e1685a8c79c74b148cb00.
* Revert "Remove some quotes that confused OpenBSD"Tom Ryder2017-01-181-2/+2
| | | | This reverts commit f825245902048e324a3567e0967f21cc1fae5bd3.
* Remove some quotes that confused OpenBSDTom Ryder2017-01-181-2/+2
|
* Color ed(1) prompt if possibleTom Ryder2017-01-181-2/+14
|
* Make some comments less uselessTom Ryder2017-01-112-2/+2
|
* Move prompt resetting into its own fileTom Ryder2017-01-111-0/+5
|
* Unset some more stupid variablesTom Ryder2017-01-112-5/+4
|
* More cleaning crapTom Ryder2017-01-111-0/+3
|
* Unset stupid GNU options to grep(1)/ls(1)Tom Ryder2017-01-112-0/+6
|
* Have ls() func undo aliases in its wayTom Ryder2017-01-111-0/+4
|
* Group single-letter ls(1) optsTom Ryder2017-01-111-8/+4
|
* Use POSIX-compatible versions of ls(1) optsTom Ryder2017-01-111-15/+10
|
* Change some return codes for dir marking funcsTom Ryder2017-01-103-3/+3
| | | | | The mark not being set isn't really a usage error for the function given.
* Move tmux() function to tm(1df)Tom Ryder2017-01-101-19/+0
| | | | No real reason for it to be a shell function
* Adjust subshell logic in md()Tom Ryder2017-01-081-5/+8
|
* Improvements to path()Tom Ryder2017-01-071-16/+39
| | | | | | | | * Move common directory argument checking into helper function * Tolerate only one directory argument * Show subcommand in error output * Don't show help on failed commands, just suggest it * (Technicality) Fix trailing-newline lossage in subshell function
* Resolve an md() issueTom Ryder2017-01-051-13/+5
| | | | Made the whole thing tidier, actually
* Soothe shellcheck about new marked dirs funcsTom Ryder2017-01-022-1/+2
|
* Handle simple relative dirs in md()Tom Ryder2017-01-021-0/+9
| | | | And add an issue about handling complex ones
* Add marked-dir toolsTom Ryder2017-01-024-0/+71
|
* Remove an unnecessary trailing slash from ad()Tom Ryder2017-01-021-1/+1
|
* Work around newline-stripping in param expansionTom Ryder2017-01-026-12/+30
|
* Don't save history for ed(1) rlwrapTom Ryder2016-12-241-1/+1
|
* Change prompt character for ed(1) wrapperTom Ryder2016-12-221-2/+2
| | | | | | POSIX default prompt for ed(1) (after P command) is an asterisk rather than a colon. I suppose it makes sense to have a distinct character from the one used for ex(1).
* 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
|