3912d602b4
Typo in .bashrc.
2023-10-02 18:56:35 +01:00
c7dd83b058
Show an uncommitted marker in the git prompt.
2023-10-02 15:39:28 +01:00
3029da7929
Use FD 9 instead of {FD}. Move PLATFORM definition.
2023-10-02 13:50:19 +01:00
fbf74989f3
Use correct stat args and fix FD handling on Darwin.
2023-10-01 23:15:21 +01:00
ac6e509827
Set HISTSIZE to prevent issue on Darwin.
2023-10-01 22:30:09 +01:00
1c1e4c9e42
Fix PS1 output on Darwin.
2023-10-01 22:18:43 +01:00
828f9c3559
Fix colours in output to use escape codes.
2023-10-01 21:43:43 +01:00
06d1bab7a6
Use global PLATFORM. Add dynamic .nanorc support. Fix git prompt.
2023-10-01 20:40:46 +01:00
b920251437
Add credit.
2023-10-01 18:02:07 +01:00
1ec658baf4
Remove fixme from .bashrc.
2023-10-01 17:59:05 +01:00
8ad75039f3
Use a function to get the colour for the username part of prompt.
2023-10-01 17:57:09 +01:00
518567cabd
Add git status information to prompt.
2023-10-01 17:31:19 +01:00
213379254e
Handle nano on darwin differently.
2023-09-30 15:29:55 +01:00
a82f8fd652
Fucking typo!
2023-09-30 14:46:44 +01:00
eb6912cf66
Handle nano versions <= 4 differently.
2023-09-30 14:37:37 +01:00
39d0644aee
Sync .bashrc.
2023-09-30 12:15:50 +01:00
966d294879
Query the local terminal for gpg passphrases.
2023-09-29 17:45:48 +01:00
fed89c9949
Various updates to .bashrc - see full log.
...
Rework a lot of the ssh agent handling functions.
Use $HOME rather than ~.
Increase history file size to 1m lines.
Use a 3rd colour for the prompt's username if it's != (root|tadgy).
Quote some variables.
Handle .nanorc files on Linux and Darwin.
Refactored some code, nothing major.
2023-09-29 16:33:03 +01:00
dcac32200e
Remove shellcheck alias.
2023-08-24 15:04:29 +01:00
6debda37c9
Correct sftp alias and unset _EXEC at end of ssh function.
2023-02-08 19:15:51 +00:00
b1464f4f47
Correct fgrep alias.
2022-10-10 22:35:06 +01:00
90b6565239
Add iotop alias.
2022-10-09 01:59:55 +01:00
6920a2a8f0
Make it clear which agent the message refers to.
2022-09-23 17:40:08 +01:00
a5d8f0f7fb
Remove prompt examples I'll never use.
2022-09-12 08:00:18 +01:00
53081b6917
Add ssh-agent handling. Update things for shellcheck. Reorganise.
2022-09-12 07:57:10 +01:00
d4b1ffb8bf
Add an alias for 'ip' to use colour.
2022-09-07 22:35:39 +01:00
2880b02fcf
Clean up .bash* and add some new aliases.
2022-09-07 20:29:59 +01:00
c5cb72c568
Update psgrep function to include colour.
2021-09-24 19:43:16 +01:00
dbded93c95
Make pine use local configs now. Comment pine alias.
2021-08-31 19:25:05 +01:00
abca6296c0
Rework how screen is handled upon login.
2021-03-27 09:15:19 +00:00
5ba3e060b2
Remove (partially) broken ssh-agent handling code. Don't use _ for temp variables.
2021-03-27 05:22:21 +00:00
233680cd76
Use $HOSTNAME instead of $(hostname) in .bash*
2021-03-26 05:37:13 +00:00
c67a0e62e1
Merge branch 'master' of http://afterdark.org.uk/git/tadgy/dotfiles-tadgy
2021-01-19 18:08:17 +00:00
719da537b4
Added imagebin function.
2021-01-08 18:47:36 +00:00
e106e8eb5d
Merge branch 'master' of http://afterdark.org.uk/git/tadgy/dotfiles-tadgy
2020-12-02 20:12:06 +00:00
60f84452cf
Added screen_attach function to start/reattach screen sessions on console/xterm.
2020-12-02 20:06:29 +00:00
eb2d77d0b0
Update for new mailserver domain.
2020-07-21 19:19:44 +01:00
ec24e87c5a
Bash history now uses host specific file.
2020-07-03 12:06:28 +01:00
09674dd332
Replace 'pastebin' alias, now uses termbin.
...
Syntax updates.
2019-07-03 18:41:44 +01:00
8eb97d0c3f
Make the psgrep function ignore the results of itself.
2019-07-03 18:11:49 +01:00
4e5fee870f
Updated comments.
2019-07-02 22:20:57 +01:00
6b794373f2
Added colour to warning. Removed 'tput set AF' colour codes.
2019-07-02 22:13:18 +01:00
dae5b0fdaa
Added flag so .bash_logout won't try to unregister a socket that didn't register.
2019-07-02 22:04:33 +01:00
4afcb51b3b
Set _PLATFORM in agent_prompt_command. Unlock agents file.
2019-07-02 04:31:07 +01:00
68f151bc7f
Register newly found socket in agents file.
2019-07-02 04:15:59 +01:00
86eecf9035
Quote addition.
2019-07-02 02:11:13 +01:00
6bc2b27b67
Reorder the redirections to prevent errors being displayed when they shouldn't be.
2019-07-02 01:30:43 +01:00
8de9fe7f56
Work around a bug in ssh-add, where it doesn't always return 2 on failure.
2019-07-02 01:10:40 +01:00
70abe8c58f
Moved locking/unlocking into a function. Added PROMPT_COMMAND that went missing.
2019-07-01 21:14:42 +01:00
dc550c2d59
Instead of using a grep to remove the current SSH_AUTH_SOCK, use a loop.
2019-07-01 17:06:19 +01:00