aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* Convert sd2u and su2d to awkTom Ryder2016-12-035-8/+8
|
* Add another issueTom Ryder2016-12-031-0/+2
|
* Add an issue with unf(1df)Tom Ryder2016-12-031-0/+2
|
* Be more honest about mode(1df) behaviourTom Ryder2016-12-031-1/+2
|
* Have finc(1df) dir default to explicit "."Tom Ryder2016-12-031-1/+1
|
* Wrap fnl(1df) command so out files always openedTom Ryder2016-12-031-1/+1
|
* Terser way to implement quiet command failuresTom Ryder2016-12-031-3/+1
| | | | Wrap it in curly brackets to make it a compound command
* Escape slash in mftl(1df) to soothe NetBSD awk(1)Tom Ryder2016-12-031-1/+1
| | | | | | | /usr/bin/awk: nonterminated character class ^[a-zA-Z0-9][a-zA-Z0 source line number 31 source file /sdf/udd/t/tejr/.local/bin/mftl context is if ($i ~ >>> /^[a-zA-Z0-9][a-zA-Z0-9./ <<<
* Split ~/.shrc off stub ~/.shinit fileTom Ryder2016-12-035-11/+11
| | | | | | | | | | | | | | | | | | | | | | | | NetBSD sh(1) and possible others don't tolerate a `return` short-circuit for ENV, which means that because that implementation also sources ENV if set regardless of whether the shell is interactive or not, all of the interactive stuff in ~/.shrc and ~/.shrc.d gets uselessly sourced and loaded up for non-interactive invocations of sh(1). To work around this, I've set ENV to be a new ~/.shinit file instead, which sources the ~/.shrc file only if the shell is interactive. ~/.shinit is the filename suggested in the man page for NetBSD sh(1) and Debian dash(1) as well. NetBSD's documented behaviour seems to be contrary to POSIX 2003: > ENV: This variable, when and only when an interactive shell is > invoked, shall be subjected to parameter expansion (see Parameter > Expansion ) by the shell, and the resulting value shall be used as a > pathname of a file containing shell commands to execute in the > current environment. No matter; this works fine, and makes non-interactive invocations of sh(1) on NetBSD much faster.
* Color compatibility fixes for tlcs(1df)Tom Ryder2016-12-021-2/+3
| | | | NetBSD sh(1) doesn't like unassigned variables in arithmetic expressions
* Update submodulesTom Ryder2016-12-021-0/+0
|
* Separate var assigns in dr(6df) by lineTom Ryder2016-12-021-1/+3
| | | | | | | NetBSD and FreeBSD sh(1) doesn't seem to evaluate the assignments in order, so in this change, the "d" variable doesn't get assigned correctly. This makes sense as I don't think an evaluation order is specified anywhere. It's clearer anyway.
* Add issue with dr(6df)Tom Ryder2016-12-021-0/+2
|
* Remove -p from shb(1df) command searchTom Ryder2016-12-011-1/+1
| | | | NetBSD doesn't allow -p and -v to be used in the same call.
* setterm(1) isn't as standard as I thoughtTom Ryder2016-12-011-3/+5
| | | | | | | | | | | | | | | | | It's not available on default installs of any of the three major open-source BSDs, and isn't specified by POSIX. I only noticed this because the implement of sh(1) in NetBSD 7.0 seems to emit errors from calls to `command -p` to the terminal, regardless of any redirection of standard output and error: $ uname -a NetBSD faeroes 7.0.1_PATCH NetBSD 7.0.1_PATCH (GENERIC.201607220540Z) amd64 $ command -p setterm setterm: not found $ command -p setterm >/dev/null setterm: not found $ command -p setterm >/dev/null 2>&1 setterm: not found
* Fix man page filenameTom Ryder2016-12-011-0/+0
|
* Add csmw(1df)Tom Ryder2016-12-015-3/+47
|
* Update submodulesTom Ryder2016-12-011-0/+0
|
* Fix prompt example for accuracyTom Ryder2016-11-301-1/+1
|
* Some more detail about SHLVLTom Ryder2016-11-301-1/+4
|
* Handle tmux sessions showing SHLVL properlyTom Ryder2016-11-302-3/+10
|
* Only add > starting from SHLVL=2Tom Ryder2016-11-301-1/+1
|
* Add > signs to show shell indentation levelTom Ryder2016-11-302-4/+12
| | | | | This needs extension to handle tmux sessions; it should be something like SHLVL - TMUX_SHLVL, which I'm not quite sure how to implement yet.
* Remove custom ^W bindingTom Ryder2016-11-271-4/+0
| | | | Neither this nor unix-filename-rubout do quite what I want.
* Speed up my mouseTom Ryder2016-11-261-0/+3
|
* Centralize cf(1df)/cfr(1df)Tom Ryder2016-11-252-6/+39
| | | | | They are almost exactly the same script now; there might be a better way to do this
* Less clumsy method of countingTom Ryder2016-11-251-5/+1
|
* Correct order of assignments in sqs(1df)Tom Ryder2016-11-251-2/+2
|
* Handle find(1) path metacharsTom Ryder2016-11-251-1/+5
|
* Add finc(1df)Tom Ryder2016-11-253-0/+27
|
* Simplify cf(1df) with a find(1) commandTom Ryder2016-11-252-18/+8
| | | | This should also work for very large numbers of files
* Simplify cf(1df) and cfr(1df)Tom Ryder2016-11-254-47/+5
| | | | | It turns out `-exec foo {} +` is in fact POSIX behaviour (since SUSv3 as far as I can tell).
*-. Merge branches 'freebsd' and 'openbsd'Tom Ryder2016-11-240-0/+0
|\ \
| | * Merge branch 'master' into openbsdTom Ryder2016-11-2438-58/+235
| | |\ | |_|/ |/| |
| * | Merge branch 'master' into freebsdTom Ryder2016-11-2438-58/+235
| |\ \ | |/ / |/| |
* | | Add accidentally committed test fileTom Ryder2016-11-221-4/+0
| | |
* | | Add ddup(1df)Tom Ryder2016-11-206-2/+32
| | |
* | | Resolve a shellcheck issueTom Ryder2016-11-181-1/+3
| | |
* | | Add issueTom Ryder2016-11-181-0/+7
| | |
* | | Add aesth(6)Tom Ryder2016-11-186-3/+88
| | |
* | | Update submodulesTom Ryder2016-11-181-0/+0
| | |
* | | Add an issue (well, an idea)Tom Ryder2016-11-171-0/+2
| | |
* | | Make Vim 'breakindent' subject to \b toggleTom Ryder2016-11-161-5/+9
| | | | | | | | | | | | | | | It impedes accurate copypasting from terminal emulators otherwise, which is the main reason I implemented \b
* | | Remove resolved issueTom Ryder2016-11-161-1/+0
| | | | | | | | | | | | This was fixed in d51d5f6
* | | Resolve issue with destructive sqs(1df)/stex(1df)Tom Ryder2016-11-163-3/+18
| | |
* | | Add sqs(1df)Tom Ryder2016-11-164-0/+42
| | | | | | | | | | | | And a relevant issue
* | | Update submodulesTom Ryder2016-11-151-0/+0
| | |
* | | Update submodulesTom Ryder2016-11-131-0/+0
| | |
* | | Remove unneeded varTom Ryder2016-11-131-2/+1
| | |
* | | Quote var in param expansionTom Ryder2016-11-132-2/+2
| | |