Your top 10 commands - Desktop Customization & Workflow
Users browsing this thread: 2 Guest(s)
|
|||
I use a lot of programs from Plan9port, including rc as my shell. rc has no history file support.
Instead of relying on my shell to create my history, I use my text editor, acme. Acme has this neat feature where you can spawn a shell within an acme window, which means that it's essentially a terminal inside of a plaintext file. At any point it can be edited or saved. So that instead of having a history file, I have a history directory. Whenever I do something somewhat complex or I figure out the perfect awk script to preform some function, I save all the relevant commands with their output to a file in my history directory. For example, I have a file for generating new git repos for stagit on my server. I find it a much better reference than a simple history file, because not only do I get the command(s) that worked, I also get why they worked, and why another command didn't. I can even add notes while I'm executing the commands, or after I save the file. It gives me a better understanding of my command history. I also don't have to sift through a million 'cd' or 'ls' commands. If I had a proper history file, my top ten would probably be some combination of p (alias for plumb), ls, cd, git, man, rm, B, mv, Sel (used for looking through my music library in acme), and ssh. |
|||
Messages In This Thread |
Your top 10 commands - by seninha - 14-10-2021, 11:10 PM
RE: Your top 10 commands - by z3bra - 15-10-2021, 02:26 AM
RE: Your top 10 commands - by tuxifreund - 15-10-2021, 02:52 AM
RE: Your top 10 commands - by ols - 15-10-2021, 06:36 AM
RE: Your top 10 commands - by dionys - 15-10-2021, 08:13 AM
RE: Your top 10 commands - by seninha - 15-10-2021, 08:39 AM
RE: Your top 10 commands - by freem - 15-10-2021, 01:07 PM
RE: Your top 10 commands - by humky - 19-10-2021, 07:59 PM
RE: Your top 10 commands - by venam - 20-10-2021, 05:48 AM
RE: Your top 10 commands - by z3bra - 20-10-2021, 02:39 PM
RE: Your top 10 commands - by freem - 22-10-2021, 11:52 AM
RE: Your top 10 commands - by humky - 22-10-2021, 03:42 PM
RE: Your top 10 commands - by z3bra - 25-10-2021, 05:47 AM
RE: Your top 10 commands - by humky - 25-10-2021, 10:48 AM
RE: Your top 10 commands - by VMS - 28-02-2022, 11:48 AM
RE: Your top 10 commands - by venam - 01-03-2022, 06:04 AM
RE: Your top 10 commands - by VMS - 01-03-2022, 02:50 PM
RE: Your top 10 commands - by jkl - 05-03-2022, 10:27 AM
RE: Your top 10 commands - by Hatbox - 05-03-2022, 01:08 PM
RE: Your top 10 commands - by yuno - 23-10-2024, 09:31 PM
RE: Your top 10 commands - by josuah - 24-10-2024, 06:27 AM
RE: Your top 10 commands - by josuah - 24-10-2024, 06:34 AM
RE: Your top 10 commands - by maksim - 08-11-2024, 09:30 AM
|