Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Attempt at properly escaping non-printing chars | Tom Ryder | 2016-12-19 | 1 | -1/+6 |
| | | | | | | | | | | | | | | | | This is supposed to be the equivalent of \[ \] in Bash PS1... >Note that since the command line editors try to figure out how long the >prompt is (so they know how far it is to edge of the screen), escape >codes in the prompt tend to mess things up. You can tell the shell not >to count certain sequences (such as escape codes) by prefixing your >prompt with a non-printing char- acter (such as control-A) followed by >a carriage return and then delimiting the escape codes with this >non-printing character. If you don't have any non-printing characters, >you're out of luck... BTW, don't blame me for this hack; it's in the >original ksh. <http://blog.0xpebbles.org/ksh-prompt-coloring-example> | ||||
* | Block a well-intended shellcheck error | Tom Ryder | 2016-12-19 | 1 | -0/+1 |
| | |||||
* | Request version with "ver" shortcut not prompt | Tom Ryder | 2016-12-19 | 2 | -12/+6 |
| | |||||
* | Attempt a much saner approach to managing SHLVL | Tom Ryder | 2016-12-19 | 1 | -7/+4 |
| | |||||
* | Defer kshrc loading until after shrc all loaded | Tom Ryder | 2016-12-18 | 1 | -5/+2 |
| | |||||
* | Add ksh version distinguisher to prompt | Tom Ryder | 2016-12-18 | 1 | -2/+12 |
| | |||||
* | Change tack; force ENV if the file exists | Tom Ryder | 2016-12-18 | 1 | -6/+0 |
| | |||||
* | Change syntax of ksh prompt func declaration | Tom Ryder | 2016-12-18 | 1 | -1/+1 |
| | | | | | | Turns out that `typeset` only makes a variable local if the function was declared with this syntax. This actually makes a fair bit of sense if I think about it. Wouldn't do this in Bash though. | ||||
* | Undo strange default for login ksh93 ENV | Tom Ryder | 2016-12-18 | 1 | -0/+6 |
| | | | | I haven't yet figured out why it does this | ||||
* | Still improving ksh-guessing heuristics | Tom Ryder | 2016-12-17 | 1 | -7/+14 |
| | |||||
* | Move ksh.sh shim into ksh subdir | Tom Ryder | 2016-12-17 | 1 | -0/+30 |
| | | | | | So it doesn't get installed on systems where I don't use ksh, since it's mostly not needed | ||||
* | Improve accuracy of comment | Tom Ryder | 2016-12-17 | 1 | -1/+2 |
| | |||||
* | Remove for loop from ksh prompt def | Tom Ryder | 2016-12-17 | 1 | -1/+3 |
| | | | | mksh can't into it | ||||
* | Move HOSTNAME call into shrc | Tom Ryder | 2016-12-17 | 1 | -3/+0 |
| | |||||
* | Knock out $HOST from kshrc | Tom Ryder | 2016-12-17 | 2 | -3/+2 |
| | | | | Not needed really | ||||
* | Add SHLVL handling for ksh | Tom Ryder | 2016-12-17 | 1 | -0/+8 |
| | | | | Turns out ksh93 at least does actually do it | ||||
* | Resolve a few ksh version differences | Tom Ryder | 2016-12-17 | 2 | -16/+24 |
| | |||||
* | Correct a "local" to "typeset" | Tom Ryder | 2016-12-17 | 1 | -1/+1 |
| | |||||
* | Rename all pdksh stuff to ksh | Tom Ryder | 2016-12-17 | 2 | -0/+214 |
As part of a foray into more active use of ksh and derivatives. |