aboutsummaryrefslogtreecommitdiff
path: root/bash/bash_profile
Commit message (Collapse)AuthorAgeFilesLines
* Handle POSIX correctness in ~/.bash_profileTom Ryder2017-03-311-0/+7
|
* Quote a bash->sh variableTom Ryder2016-08-211-1/+1
|
* Many stylistic fixes/optimisationsTom Ryder2016-08-211-17/+4
| | | | In particular, limit the verbose >=2.05 test to just one file: .bashrc
* Port all bash_profile.d scripts to POSIX shTom Ryder2016-08-201-6/+0
| | | | | Also require flag files in ~/.welcome for displaying or not displaying login stuff
* Use consistent syntax for sh source loopsTom Ryder2016-08-181-7/+4
|
* Use terser loop syntax in ~/.bash_profileTom Ryder2016-08-171-3/+2
|
* Move interactive tests back into *rc filesTom Ryder2016-08-171-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_profileTom Ryder2016-08-171-4/+4
|
* Remove unneeded linebreak backslashesTom Ryder2016-06-211-1/+1
| | | | | | | | | | | Handy command: $ find bin sh bash -type f -exec grep \ -e '|| \\$' \ -e '&& \\$' \ -e '^\s*||' \ -e '^\s*&&' \ {} +
* Remove blank lines at end of filesTom Ryder2016-03-281-1/+0
|
* Appease shellcheck with multi arith expsTom Ryder2015-10-021-2/+2
|
* Simplify Bash version checks a bit moreTom Ryder2015-09-251-3/+5
|
* Remove overkill chopping on BASH_VERSINFO[0]Tom Ryder2015-08-221-1/+1
| | | | Pointed out by Amy Grace.
* Move first newline back into fortuneTom Ryder2015-06-111-2/+1
|
* Newline before bash login outputTom Ryder2015-06-101-1/+2
|
* Instate .bash_profile.dTom Ryder2015-06-101-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 Ryder2015-06-041-2/+2
|
* Align multiline if conditionsTom Ryder2015-05-291-3/+3
|
* Add missing globs for version testsTom Ryder2015-05-271-2/+2
|
* Attempt to read .bashrc on existenceTom Ryder2015-05-271-1/+1
| | | | So that an error is thrown if we can't read it, which isn't normal
* More robust/careful version checkingTom Ryder2015-05-271-2/+5
|
* Always source ~/.profile in ~/.bash_profileTom Ryder2015-05-271-5/+5
|
* More explicitly use test builtin for version testTom Ryder2014-10-211-1/+1
|
* Don't print error messages for old BashTom Ryder2014-02-191-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 separatorTom Ryder2014-02-101-3/+3
|
* Make failed loading due to old Bash explicitTom Ryder2013-10-191-0/+3
|
* Print Bash version in color at prompt onTom Ryder2013-09-141-3/+0
|
* Print Bash version on login shellsTom Ryder2013-09-141-0/+3
|
* Safeguards to bail if Bash is just too oldTom Ryder2013-09-141-0/+5
|
* More conservative expansion for dotfile pathsTom Ryder2013-08-201-2/+2
|
* Remove unneeded quoting within [[ ]]Tom Ryder2013-08-201-2/+2
|
* More thorough quotingTom Ryder2013-08-051-2/+2
|
* Use standard structure for if/for in shellTom Ryder2013-07-311-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 againTom Ryder2013-07-121-0/+6
| | | | Shouldn't refer to Bash stuff in Bourne shell profile
* Massive overhaul of structure for Bash filesTom Ryder2013-06-201-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 correctlyTom Ryder2013-06-191-1/+4
|
* Put everything including paths stuff in .bashrc.Tom Ryder2012-06-191-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 correctionsTom Ryder2012-06-111-2/+2
|
* Fix overloading init scriptsTom Ryder2012-06-111-1/+7
|
* More directories to add to $PATH automaticallyTom Ryder2012-06-081-3/+8
|
* Completely redo bash startup filesTom Ryder2012-06-051-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 Ryder2012-02-281-3/+3
|
* Here's a more sensible solution.Tom Ryder2012-02-221-0/+5
|
* Removed locale definition for now.Tom Ryder2012-02-221-2/+1
| | | | Causing problems on some older servers with which I need to work.
* Still tweaking bashrc.Tom Ryder2012-02-211-1/+2
|
* Add environment variables.Tom Ryder2012-02-211-0/+3
|
* Added bash files, wrote installation script.Tom Ryder2012-02-211-0/+12