Commit Graph

43 Commits

Author SHA1 Message Date
Ray Elliott 76bf92b585 optimize prompt divider and update PS1 formatting
Refactor draw_prompt_divider for simpler timestamp output
and enhance PS1 for better git status display.
2025-09-30 22:20:40 +01:00
Ray Elliott ac7683930b add custom error handling for command not found
Enhance user experience by displaying errors in red when a command
is not found in the shell environment.
2025-09-30 21:22:19 +01:00
Ray Elliott c93727503e update prompt display for git status alignment
Changed the PS1 prompt to include a visual divider for better
clarity in git status representation.
2025-09-30 21:13:27 +01:00
Ray Elliott 33c485caa5 improve branch name extraction in git alignment
Use sed for reliable escape sequence removal in the
calculate_git_alignment function to enhance performance.
2025-09-30 21:07:50 +01:00
Ray Elliott 82fd24681f optimize prompt divider and git alignment calculations
Refactor the draw_prompt_divider function for improved performance
by reducing subshells and using faster timestamp retrieval. Update
the calculate_git_alignment function to cache static values and
simplify branch name extraction for better efficiency.
2025-09-30 21:03:56 +01:00
Ray Elliott 05afd18b1a add git alignment calculation for prompt display
Enhance the prompt by calculating alignment based on the
hostname and branch lengths, ensuring better visibility
of git status in the terminal.
2025-09-30 21:01:00 +01:00
Ray Elliott f730f0f604 add prompt divider and update command for gitstatus
Introduced a function to draw a terminal-width divider with a timestamp
and updated the PROMPT_COMMAND to include this new function for better
visual separation in the terminal prompt.
2025-09-30 20:44:24 +01:00
Ray Elliott 67b2f6ed25 refactor prompt colors for improved visibility
Updated color definitions in bashrc and gitstatus-custom.sh
to enhance clarity of the prompt display, using bright white
for branch names and modified/untracked statuses.
2025-09-30 20:28:56 +01:00
Ray Elliott 37dce8fa0b refactor gitstatus prompt colors for clarity
Updated color usage in the gitstatus prompt to minimize distractions
by removing color from remote tracking and push status indicators.
2025-09-30 20:16:39 +01:00
Ray Elliott 64c600f71e update PS1 prompt formatting for clarity
Adjusted the PS1 prompt to improve readability by adding
spacing and clarifying the structure of the displayed
information.
2025-09-30 20:01:04 +01:00
Ray Elliott ee354503f2 update 2025-09-30 19:55:54 +01:00
Ray Elliott 2419a843a3 replicate gitstatus default prompt 2025-09-30 19:35:43 +01:00
Ray Elliott ac38a9302e add orphan package reporting 2025-09-13 11:52:41 +01:00
Ray Elliott 20d4cd4d1f update 2024-12-25 19:25:31 +00:00
Ray Elliott 0e38264aec update 2024-05-06 22:35:19 +01:00
Ray Elliott bee848ee73 update 2024-05-06 22:25:08 +01:00
Ray Elliott 90a1db596e update 2024-04-18 22:04:33 +01:00
Ray Elliott e36c2dc7b9 update 2024-04-03 22:46:33 +01:00
Ray Elliott 4ea3ec4452 update 2023-10-10 11:51:49 +01:00
Ray Elliott 99c95d1dfa update 2023-09-17 19:09:47 +01:00
Ray Elliott 98e1ee645a update 2023-09-17 19:01:58 +01:00
Ray Elliott 5d4f6daef9 update 2023-09-17 18:52:09 +01:00
Ray Elliott b3cc2196f6 update 2023-08-22 11:25:20 +01:00
Ray Elliott 0fe1537373 update 2023-08-22 10:38:47 +01:00
Ray Elliott bc42e26725 update 2023-02-02 13:33:10 +00:00
Ray Elliott ebaf8ac716 update 2022-11-23 14:40:59 +00:00
Ray Elliott f66701743a update 2022-08-19 14:35:40 +01:00
Ray Elliott 2fa1bab9ac update 2022-06-15 15:59:01 +01:00
Ray Elliott 796cae617a update 2022-05-22 11:40:07 +01:00
Ray Elliott 6799689c8f update 2022-05-12 12:59:37 +01:00
Ray Elliott d7e1b4e851 update 2022-05-08 17:11:37 +01:00
Ray Elliott 4113a445df update 2022-04-17 16:00:06 +01:00
Ray Elliott d46247348c update 2022-04-10 12:01:33 +01:00
Ray Elliott 5459a560cb update 2022-04-03 22:58:10 +01:00
Ray Elliott f342bb23b4 update 2022-04-03 11:33:55 +01:00
Ray Elliott b6b231f8fc update 2022-03-25 12:30:13 +00:00
Ray Elliott 0d9c514d2a update 2022-03-22 15:44:06 +00:00
Ray Elliott 0a35f3194f fix update check 2022-03-22 15:43:36 +00:00
Ray Elliott fa852885e5 update 2022-03-22 13:00:31 +00:00
Ray Elliott 05591fc6e8 add z.lua 2022-03-13 18:49:36 +00:00
Ray Elliott 8c9ee859c9 better tab completion 2022-03-12 17:58:46 +00:00
Ray Elliott 39ce8b048f add gitstatus prompt 2022-03-12 17:36:58 +00:00
Ray Elliott d5ca23a06c initial commit 2022-03-12 17:13:43 +00:00