Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Restore git symbolic-ref as first attempt | Tom Ryder | 2016-08-31 | 1 | -2/+4 |
| | | | | | Otherwise if two branches point to the same commit, you can't be sure which one will show up. | ||||
* | Port Git prompt improvements to pdksh | Tom Ryder | 2016-08-31 | 1 | -19/+33 |
| | |||||
* | Fix a pdksh warning | Tom Ryder | 2016-08-24 | 1 | -1/+1 |
| | |||||
* | If HEAD not set, suppress error | Tom Ryder | 2016-08-23 | 1 | -1/+1 |
| | |||||
* | Correct test written in previous commit | Tom Ryder | 2016-08-23 | 1 | -1/+2 |
| | |||||
* | Check SSH_CLIENT *and* SSH_CONNECTION for prompt | Tom Ryder | 2016-08-23 | 1 | -1/+1 |
| | |||||
* | Port Bash prompt updates to pdksh | Tom Ryder | 2016-08-23 | 1 | -25/+30 |
| | |||||
* | Port Bash Git prompt changes to pdksh | Tom Ryder | 2016-08-21 | 1 | -3/+19 |
| | |||||
* | Add bash prompt Git fixes into pdksh | Tom Ryder | 2016-08-21 | 1 | -11/+9 |
| | |||||
* | Drastically limit amount of history kept | Tom Ryder | 2016-08-18 | 1 | -1/+1 |
| | | | | | | Reading really large files seems to be slow in Bash in general, but it's particularly bad in 4.4rc1. I keep encrypted snapshots of my HISTFILE on my home machine, so it's just a little extra step to search them. | ||||
* | Use consistent syntax for sh source loops | Tom Ryder | 2016-08-18 | 1 | -2/+1 |
| | |||||
* | Move simple Bash/pdksh functions into POSIX sh | Tom Ryder | 2016-08-17 | 13 | -125/+0 |
| | | | | | | | Have only translated the scripts that translate readily into POSIX sh for now. More complex stuff like that bd/pd/sd/ud navigation for Bash doesn't port as easily, mostly because there isn't an analogue for the "local" keyword in POSIX. | ||||
* | Correct wrapping for a comment | Tom Ryder | 2016-08-15 | 1 | -1/+2 |
| | |||||
* | Don't use git: prompt prefix if PROMPT_VCS unset | Tom Ryder | 2016-08-15 | 1 | -2/+2 |
| | | | | | All of my personal stuff is in Git, so this is only really applicable at work | ||||
* | Remove square brackets around prompt | Tom Ryder | 2016-08-15 | 1 | -1/+1 |
| | | | | Just noise | ||||
* | Port Git prompt function from Bash to pdksh | Tom Ryder | 2016-08-14 | 1 | -0/+49 |
| | |||||
* | Port easy bashrc.d scripts to pdkshrc.d | Tom Ryder | 2016-08-10 | 13 | -0/+125 |
| | | | | | Have left out anything that requires non-trivial fixes, mostly due to variable scope or missing features. | ||||
* | Name/point pdksh files specifically | Tom Ryder | 2016-08-10 | 3 | -14/+14 |
| | | | | | This frees up space to implement actual ksh88/ksh93 files specifically in future, as pdksh's feature set differs considerably | ||||
* | Limit prompt setup to OpenBSD pdksh | Tom Ryder | 2016-08-09 | 2 | -3/+3 |
| | | | | FreeBSD's one doesn't seem to support \u \w etc at all | ||||
* | Adjust color for pdksh prompt | Tom Ryder | 2016-08-09 | 1 | -1/+1 |
| | |||||
* | Remove call to `prompt ret` from pdksh PS1 | Tom Ryder | 2016-08-09 | 1 | -1/+0 |
| | |||||
* | Add kshrc.d/* sourcing to kshrc | Tom Ryder | 2016-08-09 | 1 | -0/+7 |
| | |||||
* | Use sed(1) to count jobs | Tom Ryder | 2016-08-09 | 1 | -3/+1 |
| | | | | | pdksh doesn't have <(process substitution). Ideally all of these functions will only use shell builtins, but sed will do OK for now. | ||||
* | Use blue prompt for pdksh | Tom Ryder | 2016-08-09 | 1 | -2/+2 |
| | | | | Nice quick way to distinguish which shell I'm using | ||||
* | Remove PROMPT_RETURN from pdksh prompt | Tom Ryder | 2016-08-09 | 1 | -11/+0 |
| | | | | | | Realised that the absence of PROMPT_COMMAND in pdksh makes the strategy used for this impossible; will have to figure out something else. Hopefully I will not have to resort to putting it into a file. | ||||
* | Remove bash-specific $FUNCNAME from pdksh prompt | Tom Ryder | 2016-08-09 | 1 | -1/+1 |
| | | | | | I can't find any equivalent in the pdksh manual; a fixed string will be fine for now. | ||||
* | Change "local" to "typeset" for ksh prompt | Tom Ryder | 2016-08-09 | 1 | -4/+4 |
| | |||||
* | Make prompt printing call pdksh-compatible | Tom Ryder | 2016-08-09 | 1 | -1/+1 |
| | | | | | I don't think pdksh has a `declare -p (varname)` syntax from what I can tell. typeset -p prints all the variables though. | ||||
* | Make declaration of PROMPT_RETURN pdksh-compatible | Tom Ryder | 2016-08-09 | 1 | -2/+2 |
| | |||||
* | Remove Bash-specific PROMPT_COMMAND | Tom Ryder | 2016-08-09 | 1 | -4/+1 |
| | |||||
* | Remove bash-specific stuff from PS4 | Tom Ryder | 2016-08-09 | 1 | -1/+1 |
| | |||||
* | Remove bash-specific PROMPT_DIRTRIM | Tom Ryder | 2016-08-09 | 1 | -6/+1 |
| | |||||
* | Remove VCS display from prompt for now | Tom Ryder | 2016-08-09 | 1 | -159/+0 |
| | | | | | Requires porting; one major obstacle is the lack of a -d option for the read command, but this may not even be needed. | ||||
* | Copy prompt.bash to kshrc.d | Tom Ryder | 2016-08-09 | 1 | -0/+284 |
| | | | | Not ported yet | ||||
* | Add bash-style prompt to pdksh | Tom Ryder | 2016-08-06 | 1 | -0/+3 |
| | | | | Let's start with what we know | ||||
* | Starting an attempt at pdksh configuration | Tom Ryder | 2016-08-06 | 1 | -0/+7 |
Not really sure how I'll approach this yet. |