aboutsummaryrefslogtreecommitdiff
path: root/sh
Commit message (Collapse)AuthorAgeFilesLines
* Remove some trailing whitespaceTom Ryder2016-10-192-2/+2
|
* Use simpler method for `path check`Tom Ryder2016-09-261-5/+6
| | | | Easier to read and does not require a subshell
* Correct a commentTom Ryder2016-09-181-2/+2
|
* Move HISTSIZE and MAILCHECK to shrcTom Ryder2016-09-011-0/+6
| | | | Turns out they're POSIX variables!
* Refactor welcome.shTom Ryder2016-09-011-38/+29
|
* Use terser syntax for path additionTom Ryder2016-09-011-3/+1
|
* Use more compatible block size for ls(1)Tom Ryder2016-08-311-1/+1
| | | | | Ancient GNU ls(1) accepts this even if it doesn't use it in the same way a more modern one does (requiring -S to show the blocks used).
* Make comment on BROWSER more usefulTom Ryder2016-08-311-1/+2
|
* Add x()Tom Ryder2016-08-301-0/+7
|
* Fix mysql()Tom Ryder2016-08-301-6/+12
|
* Use command -p to find tty(1)Tom Ryder2016-08-271-1/+1
|
* Move SSH_ASKPASS setup to ~/.xinitrcTom Ryder2016-08-271-4/+0
|
* Use only system-path mkdir/grep for options setupTom Ryder2016-08-271-2/+2
| | | | A little quicker
* Move bash-independent code ~/.bashrc -> ~/.shrcTom Ryder2016-08-271-0/+9
|
* Fix some comments in options.shTom Ryder2016-08-271-2/+2
|
* Improvements to tree() to handle color optionsTom Ryder2016-08-261-3/+25
|
* Add tree()Tom Ryder2016-08-261-0/+9
|
* Combine welcome messages into one scriptTom Ryder2016-08-254-69/+54
|
* Remove default PS1 for shTom Ryder2016-08-251-5/+0
|
* Remove gore() and lore()Tom Ryder2016-08-252-51/+0
| | | | Changed my mind
* Remove unneeded { } around options() funcTom Ryder2016-08-251-2/+2
| | | | I'm learning a lot from izabera today
* Switch ls()/readline to horizontal list/completeTom Ryder2016-08-252-0/+5
| | | | <https://github.com/izabera/libash/blob/9e709a56a148b4311792cc66cd21b61a73434573/extras/sample_inputrc#L33>
* Reassure shellcheck about ls(1) pipingTom Ryder2016-08-241-0/+1
|
* Add -n to grep(1) call for gore()Tom Ryder2016-08-241-1/+2
|
* Add lore()Tom Ryder2016-08-241-0/+28
|
* Force --hide-control-chars on ls(1) if availableTom Ryder2016-08-242-5/+12
| | | | | I prefer it to literal or C-style escaping representations, and ls(1) isn't for scripting output anyway.
* Rename gress() to gore()Tom Ryder2016-08-241-5/+4
| | | | Important work going on here, folks
* Add gress()Tom Ryder2016-08-241-0/+22
|
* Improve a commentTom Ryder2016-08-241-1/+1
|
* Initialise last varTom Ryder2016-08-231-0/+1
|
* Abbreviation in fortune.shTom Ryder2016-08-231-2/+1
|
* Set POSIX PS1 in a less silly wayTom Ryder2016-08-231-1/+1
|
* Change verse login check to use numeric testTom Ryder2016-08-231-2/+2
| | | | shellcheck warned me that \> isn't POSIX
* Swap `builtin` for POSIX `command` in mkcd()Tom Ryder2016-08-231-1/+1
|
* Explicitly return from failed `cd` call in scr()Tom Ryder2016-08-231-1/+1
|
* Remove stray Bashism from pwgen() wrapperTom Ryder2016-08-231-2/+1
|
* Set POSIX PS1 before loading subscriptsTom Ryder2016-08-232-3/+5
| | | | So that it's overridden in the correct order by pdksh
* Add comment to vague blockTom Ryder2016-08-231-0/+2
|
* Remove commented apostrophe from within subshellTom Ryder2016-08-231-1/+1
|
* Fix up ?d() functionsTom Ryder2016-08-236-104/+98
| | | | | | Count arguments in right places; return 2 on usage errors where possible; minimise subshell activity; move directory replacement functionality to its own function `rd()` rather than overloading `cd`.
* Correct stderr redirection for keychain(1) checkTom Ryder2016-08-231-1/+1
|
* Use whoami(1) rather than `id -nu`Tom Ryder2016-08-231-1/+1
| | | | | A little bit clearer, and still POSIX; FreeBSD and OpenBSD seem to both have it
* Avoid repetition of KSH_ENV param expansionTom Ryder2016-08-221-2/+2
|
* Stop versioning go.shTom Ryder2016-08-211-6/+0
| | | | | Pretty simple script, and only in active use on one of my systems at the moment anyway; just cluttering environment otherwise
* Style tweaks to profile.d subscriptsTom Ryder2016-08-214-13/+4
|
* Consolidate ed,bc,grep,ls.sh into one functionTom Ryder2016-08-215-98/+55
|
* Distill/fix keychain handling a bitTom Ryder2016-08-212-12/+8
|
* Restructure ed() to test,cache features on loginTom Ryder2016-08-212-20/+40
|
* Cache --quiet option for bc(1) in flag fileTom Ryder2016-08-212-4/+33
| | | | As done for grep(1) and ls(1); ed(1) is next
* Add la(), ll()Tom Ryder2016-08-213-1/+22
|