aboutsummaryrefslogtreecommitdiff
path: root/bash
Commit message (Collapse)AuthorAgeFilesLines
* Wrapper for pwgen to give it sensible defaultsTom Ryder2014-10-011-0/+15
|
* Allow specifying default tmux session nameTom Ryder2014-09-281-3/+11
| | | | Also restructure so only one explicit call to tmux command
* Use PROMPT_RETURN instead of just retTom Ryder2014-07-071-4/+4
| | | | | | Conflicts with ret variable in older versions of bash_completion. Normally don't like defining capital-var variables but I think it's appropriate in this case.
* Use one-arg form of printf for static stringsTom Ryder2014-07-023-3/+3
|
* Default to simply disabling MAILCHECKTom Ryder2014-06-271-6/+2
| | | | | I only use it on my home workstation anyway, so I just override it with ~/.bashrc.d/mailcheck.bash
* Alias to search HISTFILETom Ryder2014-06-271-0/+9
|
* Detect typechanges in git promptTom Ryder2014-06-161-2/+2
|
* Function for easy scratch tempdirsTom Ryder2014-06-161-0/+6
|
* Be more specific about prompt part appearanceTom Ryder2014-05-271-2/+2
|
* Correct comment about unused TTY varTom Ryder2014-05-271-1/+1
|
* Use consistent form of version checksTom Ryder2014-05-271-1/+1
|
* Use gpg options dump directly in completionTom Ryder2014-05-081-8/+3
| | | | Parsing it into an array is slow and a waste of time
* Check first word, not previous word, for git cmdTom Ryder2014-04-271-3/+3
|
* Use EDITOR in vis functionTom Ryder2014-04-141-1/+1
|
* Move vis function into its own fileTom Ryder2014-04-142-39/+39
|
* Require at least one argument to vis functionTom Ryder2014-04-081-1/+1
|
* bg completion only for stopped jobsTom Ryder2014-03-181-1/+2
|
* Don't force -H for sudo if -vTom Ryder2014-03-122-3/+9
|
* Fix stray commentTom Ryder2014-03-021-2/+0
|
* Basic target completion for make(1)Tom Ryder2014-03-021-0/+37
|
* Add an alias for rcsdiff(1) formattingTom Ryder2014-03-011-0/+2
|
* Remove two aliases that I just don't useTom Ryder2014-03-011-5/+0
| | | | | | | * «ls -la» will work on any system, dotfiles or not, is only a few more letters, and is hardwired at this point * «sb» has essentiall the same effect as «exec bash», which again, already works everywhere
* Add man page suffix to program name in commentTom Ryder2014-03-011-1/+1
|
* vis function makes scripts executable if possibleTom Ryder2014-02-211-0/+3
|
* Don't print bc(1) welcome messageTom Ryder2014-02-201-0/+3
|
* Don't break up short linesTom Ryder2014-02-192-10/+5
|
* Avoid ambiguous conditional syntaxTom Ryder2014-02-192-5/+15
|
* Don't print error messages for old BashTom Ryder2014-02-192-8/+2
| | | | | If you're running Bash so old that these files won't run, you probably realise it already.
* Remove unneeded ${...} wraps around array derefsTom Ryder2014-02-193-3/+3
| | | | | Arrays can be dereferenced in arithmetic context, which I didn't realise until I actually tried it. This looks neater.
* Simplify/clarify history settingsTom Ryder2014-02-191-9/+5
| | | | | | | | | | | Testing BASH_VERSINFO like this is really ugly, and not really worth the convenience of infinite history in the upcoming Bash 4.3. There's also little advantage in me having such huge amounts of history in memory for each instance of my interactive shell; I've never even approached a million lines of history on any of my machines. This should be more than enough. Clarified the differences between the variables a bit too.
* No longer needed due to curlrcTom Ryder2014-02-181-6/+0
|
* Add handy cURL functionTom Ryder2014-02-181-0/+6
|
* Use space before semicolon as command separatorTom Ryder2014-02-1018-89/+89
|
* Use explicit if for conditionTom Ryder2014-02-101-1/+3
| | | | Clearer than &&
* Remove some unneeded semicolonsTom Ryder2014-02-101-3/+3
|
* 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
* Always use -H switch for sudo(8)Tom Ryder2014-02-101-0/+3
| | | | | | If we're going to pretend to be someone else with sudo(8), that should include $HOME; prevents annoying mixed permissions in my home directory if nothing else
* Declare vars as integers in promptTom Ryder2014-02-051-5/+8
|
* Reset three vars in one goTom Ryder2014-02-051-3/+1
|
* Declare ret as an integerTom Ryder2014-02-051-1/+1
|
* Unset PROMPT_DIRTRIM and ret for old promptTom Ryder2014-02-051-0/+2
|
* Move LSCOLORS export into profileTom Ryder2014-02-051-5/+0
| | | | | dircolors(1) exports its LS_COLORS var, so it's pointless reloading it on every non-login shell
* Basic branch/tag completion for git(1)Tom Ryder2014-02-041-0/+39
|
* Wrap scp with function to check for colonTom Ryder2014-01-091-0/+9
|
* Use typed printf pattern in ca.bashTom Ryder2013-12-311-1/+1
|
* Add function to count argumentsTom Ryder2013-12-301-0/+5
|
* Detach session on attaching by defaultTom Ryder2013-12-211-1/+1
|
* Change null-arguments check for tmux funcTom Ryder2013-12-211-2/+2
|