<p>Yesterday, I said <a href="/daily/2024/06/21/dont-use-aliases">not to use custom shell aliases and functions</a> during presentations and group programming sessions to avoid confusion.</p>
<p>I use aliases, but they expand after I type them, the same as as snippet in an IDE or text editor.</p>
<p>Me and everyone else can see the underlying command, and that's also what's saved in my shell history.</p>
<p>I still have the benefit of not having to type the whole command without obscuring it.</p>
<p>I used to have custom code in my zsh configuration, but recently <a href="https://github.com/opdavies/dotfiles.nix/commit/0df5f17dae4328546b5d08eef141656a5de2b522">switched to zsh-abbr</a>.</p>
<p>The first impressions are positive and I no longer need to maintain my custom code.</p>
<p>I use aliases for commands I don't want to expand, but I've moved everything else has moved to abbreviations.</p>
<p>Yesterday, I said <a href="/daily/2024/06/21/dont-use-aliases">not to use custom shell aliases and functions</a> during presentations and group programming sessions to avoid confusion.</p>
<p>I use aliases, but they expand after I type them, the same as as snippet in an IDE or text editor.</p>
<p>Me and everyone else can see the underlying command, and that's also what's saved in my shell history.</p>
<p>I still have the benefit of not having to type the whole command without obscuring it.</p>
<p>I used to have custom code in my zsh configuration, but recently <a href="https://github.com/opdavies/dotfiles.nix/commit/0df5f17dae4328546b5d08eef141656a5de2b522">switched to zsh-abbr</a>.</p>
<p>The first impressions are positive and I no longer need to maintain my custom code.</p>
<p>I use aliases for commands I don't want to expand, but I've moved everything else has moved to abbreviations.</p>