aboutsummaryrefslogtreecommitdiff
path: root/sh
Commit message (Collapse)AuthorAgeFilesLines
* Remove SC2030 ignore for path logicTom Ryder2017-03-291-1/+0
| | | | Can't find where this was fixed
* Add lgt()Tom Ryder2017-03-291-0/+28
|
* Add gt() (go to)Tom Ryder2017-03-291-0/+28
|
* Add exm(1df) to work around Vim's screen-clearingTom Ryder2017-03-241-1/+10
|
* Remove double-up colon check in path()Tom Ryder2017-03-241-8/+0
|
* Use env vars not shell funcs for vim checkTom Ryder2017-03-093-17/+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-262-0/+22
| | | | | Probably worthwhile given I use it on several systems and it's not expensive to check whether it exists.
* Don't export GPG_TTY if nullTom Ryder2017-02-181-1/+1
|
* Use short-circuits in .profile.d scriptsTom Ryder2017-02-182-5/+6
|
* Condense ENV_EXT hack, unset itTom Ryder2017-02-171-1/+2
|
* s/exit/return/ in ex-subshell funcTom Ryder2017-01-271-4/+4
|
* Extend "fallback" prompt a bitTom Ryder2017-01-271-0/+6
| | | | Include username/hostname if no SSH variables
* Add "pop" and "shift" methods to path()Tom Ryder2017-01-251-0/+38
|
* Avoid a fork in options detectionTom Ryder2017-01-251-8/+9
|
* 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
|
* Remove tabs settingsTom Ryder2017-01-161-5/+0
| | | | | `stty tab0` is not even in OpenBSD; these are way more trouble than they're worth.
* Block stderr from tabs callTom Ryder2017-01-151-2/+2
| | | | Also prefix with `command -p`
* Block output from tabs(1)Tom Ryder2017-01-151-1/+1
|
* Add tab settings to shrcTom Ryder2017-01-141-0/+5
|
* Make some comments less uselessTom Ryder2017-01-112-2/+2
|
* Move prompt resetting into its own fileTom Ryder2017-01-112-6/+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
|
* Work around systems that export PS1Tom Ryder2017-01-111-0/+6
| | | | So far I don't like SlackWare's shell setup very much at all
* 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-112-22/+14
|
* 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
* 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.
* 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
|
* Fix a zsh-as-sh/ksh-specific issueTom Ryder2016-12-301-0/+8
| | | | Very niche, but interesting to fix anyway
* Put operating system into OS env varTom Ryder2016-12-281-0/+3
|
* 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