Skip to content

Commit

Permalink
post: weekly journal entry starting 26 February 2024
Browse files Browse the repository at this point in the history
  • Loading branch information
practicalli-johnny committed Mar 9, 2024
1 parent 4d6437f commit b0285b5
Show file tree
Hide file tree
Showing 2 changed files with 55 additions and 1 deletion.
52 changes: 52 additions & 0 deletions docs/posts/2024/february/26.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
---
title: Alls Shell that ends Shell
date: 2024-02-26
authors:
- practicalli
categories:
- practicalli
tags:
- clojure
---

**Thoughts for the week**

Tweaks for Zsh history

<!-- more -->

## Zsh

Every command typed at the prompt will be added to the Zsh history. This provides a very efficient way to repeat commands.

When an incorrect command is used the usefulness of the history can be deminished, as those incorrect commands are also part of the history.

Rather than navigating the history and changing the command, use the buildin `fd` command to edit the Zsh history.

The `fd` command is a simple tool to keep the Zsh history clean of incorrect commands. A specific command can be edited and changed by specifying its number in the history order. Or the whole history can be edited, especially useful if the command should be completely deleted.


!!! INFO "Avoid editing history directly"
Use `fd` command to edit the history to ensure the cache is up to date.

Editing $HISTFILE Zsh history file directly will not remove the command from the history cache and will show when navigating histor until logging out of the shell session.


## Engineering Playbook

Added [shell alias examples](https://practical.li/engineering-playbook/os/shell/) to Practicalli Engineering Playbook.

Rewrote the [Deliberate Practice](http://practical.li/engineering-playbook/practices/deliberate-practice/)overview and reorganised Architecture and Code Kata pages as sub-sections.


---
Thank you.

[:globe_with_meridians: Practical.li Website](https://practical.li){target=_blank .md-button}

[:fontawesome-brands-github: Practical.li GitHub Org](https://github.com/practicalli){target=_blank .md-button}
[:fontawesome-brands-github: practicalli-johnny profile](https://github.com/practicalli-johnny){target=_blank .md-button}

[:fontawesome-brands-mastodon: @practicalli@clj.social](https://clj.social/@practicalli){target=_blank .md-button}
[:fontawesome-brands-twitter: @practical_li](https://twitter.com/practcial_li){target=_blank .md-button}

4 changes: 3 additions & 1 deletion docs/posts/2024/january/29.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,9 @@ Rewriting many of the existing articles, to update content with newer approaches

Felt good after the weekend cycle and recovery weekend.

Started to feel rough on Tuesday and started taking maximum dose of paracetamol to fight off inflamation symptoms.
Started to feel rough on Tuesday and started taking maximum dose of paracetamol to fight-off inflamation symptoms.

Unfortunately my health continues to degrade and I need a lot more rest at the moment.

---
Thank you.
Expand Down

0 comments on commit b0285b5

Please sign in to comment.