Commit graph

341 commits

Author SHA1 Message Date
78a4573091 Merge remote-tracking branch 'refs/remotes/origin/master' 2023-10-07 20:38:13 +01:00
735e2d504e 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
60690c84e4 Use 'master' as the default branch on git repos. 2023-10-07 20:25:39 +01:00
5ded6c5e40 Merge remote-tracking branch 'refs/remotes/origin/master' 2023-10-05 23:36:16 +01:00
f57861d707 Use regular ssh key for github. Remove stale key. 2023-10-05 23:35:45 +01:00
47cf482f12 Merge remote-tracking branch 'refs/remotes/origin/master' 2023-10-05 23:27:15 +01:00
1853b2a62a Update 'safe' directories. Set up git maintenance tasks. 2023-10-05 22:24:55 +01:00
89417043fc Fix quoting. 2023-10-02 20:52:19 +01:00
1c2393d0b3 Expand use of GIT_REPO_INFO. Foundation work for prefetch support. 2023-10-02 20:40:52 +01:00
0f3d16a1fa Cache passwords for 30 days (in memory). 2023-10-02 18:56:56 +01:00
7509d2536d Typo in .bashrc. 2023-10-02 18:56:35 +01:00
9bac8a06bd Show an uncommitted marker in the git prompt. 2023-10-02 15:39:28 +01:00
7d865daa80 Update .gitignores. 2023-10-02 14:41:37 +01:00
ddf639d0bf Use FD 9 instead of {FD}. Move PLATFORM definition. 2023-10-02 13:50:19 +01:00
7cd16b4048 Use port 9922 for as.hosts.slackware.network. 2023-10-01 23:34:09 +01:00
9610e6d3d5 Update .gitignores for Darwin files. 2023-10-01 23:20:21 +01:00
3bbc0192dc Use correct stat args and fix FD handling on Darwin. 2023-10-01 23:15:21 +01:00
9ed0f4e782 Don't redefine or unset PLATFORM in .bash_profile. 2023-10-01 22:37:46 +01:00
dff85c6688 Set HISTSIZE to prevent issue on Darwin. 2023-10-01 22:30:09 +01:00
bdc37dd14e Fix PS1 output on Darwin. 2023-10-01 22:18:43 +01:00
9b3d7fecc5 Fix colours in output to use escape codes. 2023-10-01 21:43:43 +01:00
c754664dc8 Use global PLATFORM. Add dynamic .nanorc support. Fix git prompt. 2023-10-01 20:40:46 +01:00
eb1c37ae1c Add credit. 2023-10-01 18:02:07 +01:00
99caf81ebc Remove fixme from .bashrc. 2023-10-01 17:59:05 +01:00
b0af5d148b Use a function to get the colour for the username part of prompt. 2023-10-01 17:57:09 +01:00
538425eeae Add git status information to prompt. 2023-10-01 17:31:19 +01:00
f89ef38f8e Update .gitignore. 2023-10-01 17:29:00 +01:00
16cde833b3 Update .nanorc-{2,darwin}. 2023-09-30 15:36:06 +01:00
39d61d993d Handle nano on darwin differently. 2023-09-30 15:29:55 +01:00
d0a043d434 Update .nanorcs and add .nanorc-darwin. 2023-09-30 15:24:37 +01:00
b196bd7b4f Fucking typo! 2023-09-30 14:46:44 +01:00
a27530bf01 Handle nano versions <= 4 differently. 2023-09-30 14:37:37 +01:00
82bbfcfa81 Add a TERM definition for screen.linux in .dir_colors. 2023-09-30 14:01:02 +01:00
3174d932d3 Set speller for nanorc-6. 2023-09-30 13:53:45 +01:00
a97cdb9d10 Sync .bashrc. 2023-09-30 12:15:50 +01:00
1abeb4835d Fix handling of lxterminal.conf. 2023-09-29 19:53:12 +01:00
4bb955a1bf Remove quoting from LESS in .bash_profile. 2023-09-29 19:49:05 +01:00
5fe48627df Add Signal .gitignore. 2023-09-29 19:27:47 +01:00
1ddeda65b7 Update .gitignores. 2023-09-29 19:08:22 +01:00
caf4118021 Handle lxterminal per host config in .bash_profile. 2023-09-29 19:08:06 +01:00
d1fe541ae9 Reconfigure lxterminal. 2023-09-29 19:07:44 +01:00
e22f53dac0 Query the local terminal for gpg passphrases. 2023-09-29 17:45:48 +01:00
7c3bdea7b7 Update alpine configs. 2023-09-29 17:32:10 +01:00
00e1325c05 Update irssi config. 2023-09-29 17:31:33 +01:00
8fd922ba7e Remove userapp-Firefox-AR7F10.desktop 2023-09-29 17:31:13 +01:00
72f97f76f3 Add chuckie to .ssh/config. 2023-09-29 17:00:04 +01:00
1255f0fff6 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
31751d1342 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
007059cab8 Modify ssh-agent killing in .bash_logout. 2023-09-29 11:43:14 +01:00
2950381e01 Update .nanorc's configuration and names. 2023-09-29 11:42:36 +01:00