From 335e1377108c0c1dccd7dac8702e2042acef8a9b Mon Sep 17 00:00:00 2001 From: Pat Garrity Date: Fri, 26 Sep 2025 22:11:54 -0500 Subject: [PATCH] minor updates and favicon --- src/contact.html | 1 + src/favicon.ico | Bin 0 -> 1150 bytes src/gs.css | 2 +- src/index.html | 1 + src/open-source.html | 1 + src/writing.html | 1 + src/writing/optimizing-shell-history.html | 73 ---------------------- src/writing/semantic-type-refinement.html | 1 + 8 files changed, 6 insertions(+), 74 deletions(-) create mode 100644 src/favicon.ico delete mode 100644 src/writing/optimizing-shell-history.html diff --git a/src/contact.html b/src/contact.html index 1d7bce1..e936a19 100644 --- a/src/contact.html +++ b/src/contact.html @@ -8,6 +8,7 @@ +
diff --git a/src/favicon.ico b/src/favicon.ico new file mode 100644 index 0000000000000000000000000000000000000000..50b7b79c6432cc7df156510635edcae0696825dc GIT binary patch literal 1150 zcmbVMJ#QL85Zy@W(pV`{r;H#q4O9qz0ACHMKnM~rK}hk>;6PA0P54U5AD}^0NP#X6 z0^~s4VIjEid4PbInMFq&$7e-Z^mdooeRFd&^G=8-^gBBfG`|#Yp9=9p2=R(QCbAsu zvnDW~+teatZaP3RS(2 z$zQg`Vu4n(36I;2QmF(@(_l0XIM5N}&#_vq@VQ)uLh;P!^V8vWyM;PYrR{JawgG0d z8I)8CDT2=L^?FDo5{O2lh{a;K{CJ7=dVTWE8{HrCnVU-ee*P!QOCS)yw{{!#dL2%u z6JM{cFr7{@7z{8aj_!k>$$W+Rln)-AP6sxdP1eKb^T`-$wHo|>zuX6dL0n&dmv?pk z-S|hN5nPnh_w)|gY!>737;TEBP$=LF<(qw1DiuTi@b(rChXa{R2L3mG>4V=h9*@Ir zw%E|){M+co6xb~_m>^TOdU)!`kQ z6gSs65{ckEevThEHxKgly70=q!F{mVY`{ME`@QT>wjJ+5)?DWQPXFjW=+ddqy6yg| z=f6xn_*nnSU>}$?ZG|%RK5L*w`dKWNm`o=B1lAAdg|+wEYzFrV>qzQ1lSYPgEWvxK W +
diff --git a/src/open-source.html b/src/open-source.html index c97e909..9e253ac 100644 --- a/src/open-source.html +++ b/src/open-source.html @@ -8,6 +8,7 @@ +
diff --git a/src/writing.html b/src/writing.html index 1aa092f..4e74047 100644 --- a/src/writing.html +++ b/src/writing.html @@ -8,6 +8,7 @@ +
diff --git a/src/writing/optimizing-shell-history.html b/src/writing/optimizing-shell-history.html deleted file mode 100644 index d4ab5a3..0000000 --- a/src/writing/optimizing-shell-history.html +++ /dev/null @@ -1,73 +0,0 @@ - - - - Garrity Software - Optimizing Shell History - - - - - - - - -
-
λ garrity software
- -
-
-

Optimizing Shell History

-

I've spent a lot of time fiddling with my local development environment over - the years. As a result, I've also evolved how I interact with my shell history.

-

I would say that I use my history as a convenience and efficiency booster, - though I do not use it to drive workflow to the extent I see from others.

-

I take advantage of three things:

-
    -
  1. History configuration settings.
  2. -
  3. Shell comments.
  4. -
  5. Fuzzy search (FZF, in this case).
  6. -
-
-
-

History Configuration

-

I currently use zsh, so the example below is - for zsh.

-
export HISTFILE="$HOME/.zsh_history"
-export HISTSIZE=25000
-export SAVEHIST=$HISTSIZE
-export HISTORY_IGNORE="(ls|cd|pwd|exit)*"
-
-setopt EXTENDED_HISTORY      # Write the history file in the ':start:elapsed;command' format.
-setopt INC_APPEND_HISTORY    # Write to the history file immediately, not when the shell exits.
-setopt SHARE_HISTORY         # Share history between all sessions.
-setopt HIST_IGNORE_DUPS      # Do not record an event that was just recorded again.
-setopt HIST_IGNORE_ALL_DUPS  # Delete an old recorded event if a new event is a duplicate.
-setopt HIST_IGNORE_SPACE     # Do not record an event starting with a space.
-setopt HIST_SAVE_NO_DUPS     # Do not write a duplicate event to the history file.
-setopt HIST_VERIFY           # Do not execute immediately upon history expansion.
-setopt APPEND_HISTORY        # append to history file (Default)
-setopt HIST_NO_STORE         # Don't store history commands
-setopt HIST_REDUCE_BLANKS    # Remove superfluous blanks from each command line being added to the history.
-setopt INTERACTIVE_COMMENTS  # Allow comments in interactive shell.
-
-# Example of what I have - you can use your own configuration. Note that this
-# example is intended for use on wayland with wl-copy.
-export FZF_CTRL_R_OPTS="
-  --preview 'echo {}' --preview-window up:3:hidden:wrap
-  --bind 'ctrl-/:toggle-preview'
-  --bind 'ctrl-y:execute-silent(echo -n {2..} | wl-copy)+abort'
-  --color header:italic
-  --header 'Press CTRL-Y to copy command into clipboard'"
-
-
-
Copyright pfm
-
- - - diff --git a/src/writing/semantic-type-refinement.html b/src/writing/semantic-type-refinement.html index 2483637..006d4fa 100644 --- a/src/writing/semantic-type-refinement.html +++ b/src/writing/semantic-type-refinement.html @@ -11,6 +11,7 @@ +