dotfiles/sh/.config/sh
Marty Oehme 7eeeb9e85d
sh: Add clear and rerun function
Added simple function to clear the screen but additionally re-run the
last executed command.

Mirroring my clear screen alias `cl`, this one is executed with `cll`
(clear-and-last) currently.

It comes in useful for me every now and again because I sometimes just
need a quick way to get rid of 'clutter' on my terminal (e.g. running
multiple rg invocations after each other, or diffs, or anything that
spews a bunch of stuff on screen and I want to find specific things
afterwards).
I am very used to running `cl` and then the second to last history item.
This makes those additional keystrokes unnecessary.
2024-06-05 12:10:26 +02:00
..
alias.d sh: Switch timg qr function to use viu 2023-10-03 13:03:05 +02:00
profile.d sh: Fix graphical session start for ssh sessions 2022-01-28 10:15:47 +01:00
alias sh: Add clear and rerun function 2024-06-05 12:10:26 +02:00
env sh: Enable FRX options for less by default 2023-10-05 18:25:57 +02:00
profile Add basic XDG compliant sh architecture 2020-02-02 15:08:40 +00:00
xdg sh: Change PATH local binary order 2023-08-31 12:25:01 +02:00