Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
linux:general_bash-ery [2023/03/28 00:54] – [General Bash-ery] mgupton | linux:general_bash-ery [2023/04/10 11:35] (current) – [Command Delimiter] mgupton | ||
---|---|---|---|
Line 25: | Line 25: | ||
* '' | * '' | ||
* '' | * '' | ||
+ | |||
+ | ====== Command Delimiter ====== | ||
+ | Automatically run a command after every command ran in the shell that prints a line that includes the current time. It makes it easier to spot commands being ran when scrolling back in the terminal. | ||
+ | <code bash> | ||
+ | PROMPT_COMMAND=' | ||
+ | </ | ||
+ | |||
+ | Example output | ||
+ | < | ||
+ | ---------------------------2023-04-07T21: | ||
+ | </ | ||