Commit graph

339 commits

Author SHA1 Message Date
5ddf11681d Various updates to __prompt_git_status in .bashrc. See full log.
* Update various comments, include expected arguments and example prompt.
* Use IFS to split GIT_REPO_INFO on \n rather than spaces.
* If the repository has no commits yet, display "!NO COMMITS!" as the branch.
* Use the GIT_REPO_INFO for top-directory instead of another call out to git.
* Use pwd -P to force actual paths not following symlinks.
* Pull upstream status if GIT_PROMPT_AUTO_PREFETCH is set, the current
  directory is the git repo top-dir and maintenance tasks for this repo have
  been enabled.  This allows reporting whether the branch is behind the
  remote by any number.
2023-10-07 20:29:01 +01:00
9e60f3772b Use 'master' as the default branch on git repos. 2023-10-07 20:25:39 +01:00
99f9c60973 Merge remote-tracking branch 'refs/remotes/origin/master' 2023-10-05 23:27:15 +01:00
3638f1b81a Update 'safe' directories. Set up git maintenance tasks. 2023-10-05 22:24:55 +01:00
9424108f34 Fix quoting. 2023-10-02 20:52:19 +01:00
f0168a0f69 Expand use of GIT_REPO_INFO. Foundation work for prefetch support. 2023-10-02 20:40:52 +01:00
87799d5870 Cache passwords for 30 days (in memory). 2023-10-02 18:56:56 +01:00
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
e51f4f0d87 Update .gitignores. 2023-10-02 14:41:37 +01:00
3029da7929 Use FD 9 instead of {FD}. Move PLATFORM definition. 2023-10-02 13:50:19 +01:00
4026e54488 Use port 9922 for as.hosts.slackware.network. 2023-10-01 23:34:09 +01:00
147ef88c6f Update .gitignores for Darwin files. 2023-10-01 23:20:21 +01:00
fbf74989f3 Use correct stat args and fix FD handling on Darwin. 2023-10-01 23:15:21 +01:00
3fc8f90360 Don't redefine or unset PLATFORM in .bash_profile. 2023-10-01 22:37:46 +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
544c4f8b34 Update .gitignore. 2023-10-01 17:29:00 +01:00
6b90225e7e Update .nanorc-{2,darwin}. 2023-09-30 15:36:06 +01:00
213379254e Handle nano on darwin differently. 2023-09-30 15:29:55 +01:00
117d7f181e Update .nanorcs and add .nanorc-darwin. 2023-09-30 15:24:37 +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
259e173538 Add a TERM definition for screen.linux in .dir_colors. 2023-09-30 14:01:02 +01:00
d500e8cbac Set speller for nanorc-6. 2023-09-30 13:53:45 +01:00
39d0644aee Sync .bashrc. 2023-09-30 12:15:50 +01:00
117f220090 Fix handling of lxterminal.conf. 2023-09-29 19:53:12 +01:00
a17e96ead0 Remove quoting from LESS in .bash_profile. 2023-09-29 19:49:05 +01:00
60a434745b Add Signal .gitignore. 2023-09-29 19:27:47 +01:00
e484abb37f Update .gitignores. 2023-09-29 19:08:22 +01:00
b704cb4565 Handle lxterminal per host config in .bash_profile. 2023-09-29 19:08:06 +01:00
42e65af4c5 Reconfigure lxterminal. 2023-09-29 19:07:44 +01:00
966d294879 Query the local terminal for gpg passphrases. 2023-09-29 17:45:48 +01:00
a6ae63ec59 Update alpine configs. 2023-09-29 17:32:10 +01:00
1509da64b6 Update irssi config. 2023-09-29 17:31:33 +01:00
197ff41e20 Remove userapp-Firefox-AR7F10.desktop 2023-09-29 17:31:13 +01:00
07cf955656 Add chuckie to .ssh/config. 2023-09-29 17:00:04 +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
a18f4d7cbf Various updates to .bash_profile, see full log.
Add a #! line, even though it's not required.
Use $HOME instead of ~.
Quote LESS prompt.
Rework GPG agent handling code to be more generic.
Use printf rather than echo.
A couple of code cleanups.
Make things shellcheck safe and passed.
2023-09-29 13:40:00 +01:00
57274f8d70 Modify ssh-agent killing in .bash_logout. 2023-09-29 11:43:14 +01:00
af993e63fb Update .nanorc's configuration and names. 2023-09-29 11:42:36 +01:00
42d49ef9bf Use reverse colour for column marker in nano. 2023-09-19 13:10:58 +01:00
253e06f93a Git repo updates. 2023-09-19 12:55:34 +01:00
7edffdddf9 Place colum marker at 160 chars for nano. 2023-09-19 12:51:08 +01:00