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 0000000..50b7b79 Binary files /dev/null and b/src/favicon.ico differ diff --git a/src/gs.css b/src/gs.css index 25abe17..aebc879 100644 --- a/src/gs.css +++ b/src/gs.css @@ -9,7 +9,7 @@ html { } body { - line-height: 1.2; + line-height: 1.35; font-family: "Libre Baskerville", serif; margin: 0; padding: 0; diff --git a/src/index.html b/src/index.html index 049b286..a139306 100644 --- a/src/index.html +++ b/src/index.html @@ -8,6 +8,7 @@ +
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 @@ +