aboutsummaryrefslogtreecommitdiff
path: root/bash
Commit message (Collapse)AuthorAgeFilesLines
* Fix grep/ls aliasing for efficiency/correctnessTom Ryder2013-07-302-8/+8
| | | | Avoiding the use of echo, using builtins whereever possible
* Use clearer option name for dircolors callTom Ryder2013-07-301-1/+1
|
* Fix bug in ls color managementTom Ryder2013-07-301-1/+1
| | | | Ignoring output for an eval call? Real smart, Tom
* Use integer declarations in prompt functionTom Ryder2013-07-301-2/+2
|
* More portable non-surprise syntax for functionsTom Ryder2013-07-305-5/+6
| | | | | | | | | | | | | | | | | | | | | | | | <tyrmored> is this syntax actually problematic? <tyrmored> function whatever { <tyrmored> thangs <tyrmored> } <zendeavor> !pf function <greybot> http://mywiki.wooledge.org/BashPitfalls#pf25 -- Don't do this! -- function foo() <tyrmored> i know it's bashism, but is it bad practice <tyrmored> yeah i know that much <tyrmored> (no parens, that is) <zendeavor> it's not necessarily a bashism, but the function keyword has implications in other shells <zendeavor> and, perhaps someday in the future, for bash as well <tyrmored> hmm, so i should use this syntax even if the scripts are explicitly bash? <ffio> hi zendeavor :) <zendeavor> you should use foo() { echo bar; } <tyrmored> rightoh <zendeavor> no surprising behaviour that way, ever <tyrmored> makes sense <zendeavor> it won't matter *much* but element of least surprise
* Dropped a newlineTom Ryder2013-07-211-0/+1
|
* Unset helper functions for ls/grep setupTom Ryder2013-07-212-3/+9
| | | | These are no longer needed after the alias has been established.
* Cleaner argument count tests in cd functionTom Ryder2013-07-211-4/+2
|
* Remove trailing spaces before closing parenthesesTom Ryder2013-07-213-8/+8
| | | | I was only doing this to work around a Bash syntax highlighting bug
* Move Bash options into separate fileTom Ryder2013-07-212-38/+39
|
* Improve comments for aliasesTom Ryder2013-07-201-7/+6
|
* Move aliases into separate fileTom Ryder2013-07-202-15/+15
|
* May as well start versioning logout fileTom Ryder2013-07-191-0/+5
|
* Ignore error messages from mailwarn optionTom Ryder2013-07-181-1/+1
|
* Tidier layout, start using .bash_profile againTom Ryder2013-07-122-1/+7
| | | | Shouldn't refer to Bash stuff in Bourne shell profile
* Local variable no longer neededTom Ryder2013-07-031-1/+1
|
* Force status check to work around cache problemTom Ryder2013-07-031-0/+1
|
* Use exit values directly for these callsTom Ryder2013-07-031-2/+2
|
* More compatible branch calculationTom Ryder2013-07-031-2/+3
| | | | Still using some old Debian Squeeze servers
* Much smarter Git branch findingTom Ryder2013-07-031-2/+3
|
* Much-improved git prompt functionTom Ryder2013-07-031-3/+12
| | | | | | Thanks to @necolas: <https://github.com/necolas/dotfiles/blob/master/bash/bash_prompt#L60-L111>
* Somehow misplaced my "shut up mail" rulesTom Ryder2013-06-251-0/+4
|
* Just check ls/grep option calls onceTom Ryder2013-06-242-4/+6
|
* Fix broken return value prompt elementTom Ryder2013-06-241-2/+2
|
* Use correct Bash arguments expansionTom Ryder2013-06-231-2/+2
|
* Preserve options for cd aliasTom Ryder2013-06-231-4/+10
| | | | Also better explanatory notes
* Massive overhaul of structure for Bash filesTom Ryder2013-06-209-222/+167
| | | | | | | | | | | * 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
* Another unneeded environment variableTom Ryder2013-06-201-4/+0
|
* Remove unneeded profile variableTom Ryder2013-06-191-3/+0
|
* Set up my environment vars correctlyTom Ryder2013-06-193-30/+44
|
* Handle null arguments to cdTom Ryder2013-05-261-1/+3
|
* Emulate zsh dir replacement featureTom Ryder2013-05-261-0/+9
|
* Explicit env variable exportsTom Ryder2013-05-261-3/+3
|
* More intelligent PATH calculationTom Ryder2013-05-261-13/+13
|
* Use utf-8 linedrawing for tree(1)Tom Ryder2013-03-111-0/+3
|
* Turns out this is unnecessaryTom Ryder2013-03-111-3/+0
|
* Handling this with keychain nowTom Ryder2013-03-111-3/+0
|
* Found a better way to fix thisTom Ryder2013-03-101-3/+0
|
* Make pass ignore DISPLAYTom Ryder2013-03-101-0/+3
| | | | I don't like the popup
* Trialling no terminal renaming escape codesTom Ryder2013-03-031-5/+0
| | | | | I've always used these so I wonder if I only think they're useful -- I seem to spend a lot of time renaming windows
* Different phrase to search forTom Ryder2012-10-161-1/+1
|
* Default to detaching other sessionsTom Ryder2012-10-021-1/+1
|
* Better prompt bell implementationTom Ryder2012-09-251-7/+2
|
* Gonna start using alerts more sensiblyTom Ryder2012-09-241-3/+3
|
* Remove alert on promptTom Ryder2012-09-141-1/+1
| | | | Will call alert explicitly or use it for more notable events
* Let's be thoroughTom Ryder2012-09-141-1/+1
|
* Generate alerts for window managerTom Ryder2012-09-141-1/+6
|
* Restore title hacksTom Ryder2012-08-201-0/+2
|
* Don't bother with xterm titlesTom Ryder2012-08-191-1/+0
|
* Start doing terminals properlyTom Ryder2012-08-191-14/+0
|