aboutsummaryrefslogtreecommitdiff
path: root/sh
Commit message (Collapse)AuthorAgeFilesLines
* Use $_ for source parts topic varTom Ryder2015-05-181-3/+2
|
* Move unset in run-parts bashrc/profile sourceTom Ryder2015-05-151-1/+1
|
* Keep OLDPWD between loginsTom Ryder2015-04-291-0/+6
|
* Raise error message if .d sh file can't be readTom Ryder2015-01-291-3/+1
|
* Let the system choose my pagerTom Ryder2014-10-241-4/+0
|
* Remove some unneeded quotesTom Ryder2014-10-161-1/+1
| | | | God bless you, shellcheck(1)
* Add missing options terminatorTom Ryder2014-10-101-1/+1
|
* Store a local .dircolors fileTom Ryder2014-06-031-1/+5
| | | | | | Looks like a recent package update hosed mine and removed a bunch of terminal definitions I used. Probably better long-term just to use my own. Removed all the comment cruft from it for now.
* Remove redundant export call for PATHTom Ryder2014-04-281-1/+0
|
* Use space before semicolon as command separatorTom Ryder2014-02-104-9/+9
|
* Add commentTom Ryder2014-02-101-0/+1
|
* Remove some unnecessary quotesTom Ryder2014-02-104-5/+5
|
* Use explicit if for conditionTom Ryder2014-02-101-1/+3
| | | | Clearer than &&
* Not sure why I ever set TTYTom Ryder2014-02-101-3/+2
|
* Explicitly check extension of .d filesTom Ryder2014-02-101-1/+1
|
* Use -r test consistently rather than -fTom Ryder2014-02-102-2/+2
| | | | Implicitly check whether file exists and is legible
* Put asterisks in front of each remind(1) itemTom Ryder2014-02-101-1/+1
| | | | | | Just for readability to distinguish it from the rest of my login spiel. There might be a way to do this with remind(1) itself, but this will work OK.
* Don't background remind(1) for timed remindersTom Ryder2014-02-101-1/+1
| | | | | I might want this eventually, but for the moment I'm only using remind(1) for my daily login shell
* No longer need to strip newlines from remindersTom Ryder2014-02-101-1/+1
| | | | | Turns out ending a reminder line with % prevents it adding a newline, so I don't need sed(1) to do that now
* Add remind scriptTom Ryder2014-02-071-1/+1
| | | | | Need to work out if the sed(1) call is actually required, or if remind(1) does actually allow controlling the format of output at all
* Trying out Wyrd, moving away from Google CalendarTom Ryder2014-02-051-0/+6
| | | | Configuration is not much more than the stock Debian one at the moment
* Move LSCOLORS export into profileTom Ryder2014-02-051-0/+5
| | | | | dircolors(1) exports its LS_COLORS var, so it's pointless reloading it on every non-login shell
* Move TTY/GPG_TTY exports into profileTom Ryder2013-10-161-0/+7
|
* Work around annoying bug in Debian keychain(1)Tom Ryder2013-09-301-1/+2
| | | | <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=512840>
* OpenBSD TERM hack no longer neededTom Ryder2013-09-221-10/+0
|
* Explicitly unset variables in profileTom Ryder2013-09-151-1/+1
|
* Chop off unicode suffix for OpenBSD TERM tooTom Ryder2013-09-151-1/+2
|
* Break editor/pager setup into subfileTom Ryder2013-09-153-9/+9
|
* Tidier quoting for PATH logicTom Ryder2013-09-151-1/+1
|
* Degrade TERM for OpenBSD systemsTom Ryder2013-09-151-0/+9
|
* Handle empty .bashrc.d/.profile.d dirsTom Ryder2013-09-021-1/+1
|
* Better var names for subfile config sourcingTom Ryder2013-08-201-3/+3
|
* Fix a few variable contamination issuesTom Ryder2013-08-201-0/+1
|
* More conservative expansion for dotfile pathsTom Ryder2013-08-201-3/+3
|
* Remove unnecessary quoting in simple assignmentsTom Ryder2013-08-202-2/+2
|
* Avoid whichcraftTom Ryder2013-08-131-1/+1
|
* More thorough quotingTom Ryder2013-08-052-4/+4
|
* Restore stderr redirection for command -vTom Ryder2013-08-021-2/+2
| | | | | Some older versions of Bash seem to spit out "not found" errors for command -v on stderr
* Improve comments on shell scriptsTom Ryder2013-07-312-3/+5
|
* Don't use backticks for command substitutionTom Ryder2013-07-311-2/+2
| | | | | | I thought the $( ) syntax wasn't defined by POSIX, but it is, and it works in basically every modern Bourne shell including dash and ksh. As it's much more readable and easier to nest I'll prefer it here.
* Keep export calls separate from definitionsTom Ryder2013-07-312-4/+7
|
* Use standard structure for if/for in shellTom Ryder2013-07-313-11/+12
| | | | | | | | | | | | | | | | | | | Mostly for clarity reasons; using this syntax: if [ condition ]; then commands fi As opposed to: if [ condition ] then commands fi Or: [ condition ] && command
* Tidier layout, start using .bash_profile againTom Ryder2013-07-121-3/+0
| | | | Shouldn't refer to Bash stuff in Bourne shell profile
* Explicitly set timezone for profilesTom Ryder2013-07-031-0/+3
|
* Nice syntax for ANDTom Ryder2013-06-251-1/+1
|
* Remove Bashism from Bourne shell profileTom Ryder2013-06-241-1/+1
|
* Discard stderr from command callsTom Ryder2013-06-241-2/+2
| | | | | Looks like older versions of Bash emit well-intended error messages if the command is not found that newer ones don't
* Sharing keychain(1) profile scriptTom Ryder2013-06-241-0/+6
| | | | | | Designed to be a quiet no-op on systems where keychain(1) is unavailable, and not to bleat about missing keys, trying the three default ones
* Add one profile.d scriptTom Ryder2013-06-201-0/+9
| | | | Mostly because git doesn't do empty dirs
* Massive overhaul of structure for Bash filesTom Ryder2013-06-201-0/+23
* No longer using .bash_logout * No longer using .bash_profile, using POSIX-compliant .profile * instead; in particular, moved most of environment settings into .profile * Moved some of the separable functionality of both .profile and .bashrc into subdirectories (some scripts shared, some not) * Tidied implementation of ls/grep aliases * Updated install script to reflect all of the above