aboutsummaryrefslogtreecommitdiff
path: root/sh
Commit message (Collapse)AuthorAgeFilesLines
...
| * Add safety to bd()Tom Ryder2017-05-271-1/+2
| | | | | | | | | | | | Handle case if PWD does not start with a slash--a big "Shouldn't Happen", but easy enough to be worth handling, since it would loop infinitely otherwise
| * More refinements to bd()Tom Ryder2017-05-271-28/+11
| |
| * Remove ad()Tom Ryder2017-05-261-80/+0
| | | | | | | | It has no real advantages over and isn't as clever as just cd /a*/b*/c*
| * Tidy/golf gt() down a bitTom Ryder2017-05-261-15/+13
| |
| * Remove hare-brained no-op lineTom Ryder2017-05-261-1/+0
| |
| * Still tinkering with ?d.sh scriptsTom Ryder2017-05-263-33/+20
| |
| * Reimplement ud()Tom Ryder2017-05-261-32/+30
| | | | | | | | More fault-tolerant and no subshell or temporary vars
| * More bd() improvementsTom Ryder2017-05-261-12/+29
| | | | | | | | Including rigorous trailing-slash handling
| * Correct default behaviour for bd() with no argsTom Ryder2017-05-261-6/+9
| |
| * Reimplement sd() without subshellTom Ryder2017-05-262-42/+44
| |
| * Even terser/nicer bd()Tom Ryder2017-05-251-7/+7
| |
| * Shorter/saner implementation for bd()Tom Ryder2017-05-251-56/+29
| | | | | | | | Avoids subshell mess and consequent trailing-space workaround
| * Correct gt() error outputTom Ryder2017-05-241-1/+1
| |
| * Remove mysql() functionTom Ryder2017-05-231-25/+0
| | | | | | | | Clumsy interaction too close to default behaviour anyway
* | Merge branch 'master' into port/bsd/freebsdTom Ryder2017-05-199-27/+32
|\|
| * Just use whichever vi(1) we need as VISUALTom Ryder2017-05-141-6/+2
| | | | | | | | | | | | | | This avoids an unwanted situation on e.g. Debian minimal where the default Vi implementation is a stripped-down Vim that doesn't use vim(1) as a name, so stuff like sudoedit(8) breaks looking for it and falls back on EDITOR.
| * Move exm(1df) test into EDITOR selectionTom Ryder2017-05-141-4/+13
| | | | | | | | | | | | Merely checking for vim(1) is a poor test; we specifically need to know if the ex(1) implementation is Vim, so test it while making the EDITOR decision.
| * Use more logical ~/.cache subpathTom Ryder2017-04-127-17/+17
| |
* | Merge branch 'master' into port/bsd/freebsdTom Ryder2017-04-071-2/+4
|\|
| * Make -x in ls() conditional on terminal outputTom Ryder2017-04-061-2/+4
| | | | | | | | Mimics behaviour of GNU ls(1) and probably other implementations too
* | Merge branch 'master' into port/bsd/freebsdTom Ryder2017-03-293-1/+56
|\|
| * 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
| |
* | Merge branch 'master' into port/bsd/freebsdTom Ryder2017-03-242-9/+10
|\|
| * 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
| |
* | Merge branch 'master' into port/bsd/freebsdTom Ryder2017-03-105-17/+34
|\|
| * 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.
* | Merge branch 'master' into port/bsd/freebsdTom Ryder2017-02-254-7/+9
|\|
| * 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
| |
* | Merge branch 'master' into port/bsd/freebsdTom Ryder2017-01-282-4/+10
|\|
| * 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
* | Merge branch 'master' into port/bsd/freebsdTom Ryder2017-01-252-8/+47
|\|
| * Add "pop" and "shift" methods to path()Tom Ryder2017-01-251-0/+38
| |
| * Avoid a fork in options detectionTom Ryder2017-01-251-8/+9
| |
* | 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
|
* 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
|