Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Handle POSIX correctness in ~/.bash_profile | Tom Ryder | 2017-03-31 | 1 | -0/+7 |
| | |||||
* | Quote a bash->sh variable | Tom Ryder | 2016-08-21 | 1 | -1/+1 |
| | |||||
* | Many stylistic fixes/optimisations | Tom Ryder | 2016-08-21 | 1 | -17/+4 |
| | | | | In particular, limit the verbose >=2.05 test to just one file: .bashrc | ||||
* | Port all bash_profile.d scripts to POSIX sh | Tom Ryder | 2016-08-20 | 1 | -6/+0 |
| | | | | | Also require flag files in ~/.welcome for displaying or not displaying login stuff | ||||
* | Use consistent syntax for sh source loops | Tom Ryder | 2016-08-18 | 1 | -7/+4 |
| | |||||
* | Use terser loop syntax in ~/.bash_profile | Tom Ryder | 2016-08-17 | 1 | -3/+2 |
| | |||||
* | Move interactive tests back into *rc files | Tom Ryder | 2016-08-17 | 1 | -4/+4 |
| | | | | | | I don't fully understand why I have to do it this way yet, but if I don't, calling SSH with a command raises "stdin: not a terminal" because ~/.bashrc was called. | ||||
* | Move -i test in Bash to end of ~/.bash_profile | Tom Ryder | 2016-08-17 | 1 | -4/+4 |
| | |||||
* | Remove unneeded linebreak backslashes | Tom Ryder | 2016-06-21 | 1 | -1/+1 |
| | | | | | | | | | | | Handy command: $ find bin sh bash -type f -exec grep \ -e '|| \\$' \ -e '&& \\$' \ -e '^\s*||' \ -e '^\s*&&' \ {} + | ||||
* | Remove blank lines at end of files | Tom Ryder | 2016-03-28 | 1 | -1/+0 |
| | |||||
* | Appease shellcheck with multi arith exps | Tom Ryder | 2015-10-02 | 1 | -2/+2 |
| | |||||
* | Simplify Bash version checks a bit more | Tom Ryder | 2015-09-25 | 1 | -3/+5 |
| | |||||
* | Remove overkill chopping on BASH_VERSINFO[0] | Tom Ryder | 2015-08-22 | 1 | -1/+1 |
| | | | | Pointed out by Amy Grace. | ||||
* | Move first newline back into fortune | Tom Ryder | 2015-06-11 | 1 | -2/+1 |
| | |||||
* | Newline before bash login output | Tom Ryder | 2015-06-10 | 1 | -1/+2 |
| | |||||
* | Instate .bash_profile.d | Tom Ryder | 2015-06-10 | 1 | -0/+10 |
| | | | | | Stuff that prints messages really only needs to be done for my primary login shell | ||||
* | No real need to use use test over [...] | Tom Ryder | 2015-06-04 | 1 | -2/+2 |
| | |||||
* | Align multiline if conditions | Tom Ryder | 2015-05-29 | 1 | -3/+3 |
| | |||||
* | Add missing globs for version tests | Tom Ryder | 2015-05-27 | 1 | -2/+2 |
| | |||||
* | Attempt to read .bashrc on existence | Tom Ryder | 2015-05-27 | 1 | -1/+1 |
| | | | | So that an error is thrown if we can't read it, which isn't normal | ||||
* | More robust/careful version checking | Tom Ryder | 2015-05-27 | 1 | -2/+5 |
| | |||||
* | Always source ~/.profile in ~/.bash_profile | Tom Ryder | 2015-05-27 | 1 | -5/+5 |
| | |||||
* | More explicitly use test builtin for version test | Tom Ryder | 2014-10-21 | 1 | -1/+1 |
| | |||||
* | Don't print error messages for old Bash | Tom Ryder | 2014-02-19 | 1 | -4/+1 |
| | | | | | If you're running Bash so old that these files won't run, you probably realise it already. | ||||
* | Use space before semicolon as command separator | Tom Ryder | 2014-02-10 | 1 | -3/+3 |
| | |||||
* | Make failed loading due to old Bash explicit | Tom Ryder | 2013-10-19 | 1 | -0/+3 |
| | |||||
* | Print Bash version in color at prompt on | Tom Ryder | 2013-09-14 | 1 | -3/+0 |
| | |||||
* | Print Bash version on login shells | Tom Ryder | 2013-09-14 | 1 | -0/+3 |
| | |||||
* | Safeguards to bail if Bash is just too old | Tom Ryder | 2013-09-14 | 1 | -0/+5 |
| | |||||
* | More conservative expansion for dotfile paths | Tom Ryder | 2013-08-20 | 1 | -2/+2 |
| | |||||
* | Remove unneeded quoting within [[ ]] | Tom Ryder | 2013-08-20 | 1 | -2/+2 |
| | |||||
* | More thorough quoting | Tom Ryder | 2013-08-05 | 1 | -2/+2 |
| | |||||
* | Use standard structure for if/for in shell | Tom Ryder | 2013-07-31 | 1 | -2/+6 |
| | | | | | | | | | | | | | | | | | | | 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 again | Tom Ryder | 2013-07-12 | 1 | -0/+6 |
| | | | | Shouldn't refer to Bash stuff in Bourne shell profile | ||||
* | Massive overhaul of structure for Bash files | Tom Ryder | 2013-06-20 | 1 | -6/+0 |
| | | | | | | | | | | | * 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 | ||||
* | Set up my environment vars correctly | Tom Ryder | 2013-06-19 | 1 | -1/+4 |
| | |||||
* | Put everything including paths stuff in .bashrc. | Tom Ryder | 2012-06-19 | 1 | -20/+1 |
| | | | | | | Heresy, I know, but I'm sick of dealing with the distinction between login shells and non-login shells, particularly as far as my $PATH is concerned. | ||||
* | Misc syntax/grammar corrections | Tom Ryder | 2012-06-11 | 1 | -2/+2 |
| | |||||
* | Fix overloading init scripts | Tom Ryder | 2012-06-11 | 1 | -1/+7 |
| | |||||
* | More directories to add to $PATH automatically | Tom Ryder | 2012-06-08 | 1 | -3/+8 |
| | |||||
* | Completely redo bash startup files | Tom Ryder | 2012-06-05 | 1 | -15/+6 |
| | | | | | | | | | | Much happier with things now. Conditionals are much more sensible and colours are good too. I still don't like those ls and grep calls but I'd rather put up with the ugliness. This script takes about 200ms to load -- a bit too long really, but I suspect that it might actually be the SSH agent stuff that's causing trouble. | ||||
* | Generalise this to any local file. | Tom Ryder | 2012-02-28 | 1 | -3/+3 |
| | |||||
* | Here's a more sensible solution. | Tom Ryder | 2012-02-22 | 1 | -0/+5 |
| | |||||
* | Removed locale definition for now. | Tom Ryder | 2012-02-22 | 1 | -2/+1 |
| | | | | Causing problems on some older servers with which I need to work. | ||||
* | Still tweaking bashrc. | Tom Ryder | 2012-02-21 | 1 | -1/+2 |
| | |||||
* | Add environment variables. | Tom Ryder | 2012-02-21 | 1 | -0/+3 |
| | |||||
* | Added bash files, wrote installation script. | Tom Ryder | 2012-02-21 | 1 | -0/+12 |