Unix

A collection of unix tools that I've used either frequently or infrequently along with some nice aliases or example commands.

Zsh

I use zsh for my shell. The community and plugins supporting it are fantastic and well documented.

Zplug

Zplug is a plugin manager for zsh, it's super fast and works really well with an easy syntax to follow.

Zplugin

Zplugin is an even faster plugin manager for zsh.

Pure

Pure is a clean, minimal, and pretty looking prompt for zsh. It shows git branches and changes, SSH usernames, and command execution times.

I typically install this with zplug with the following.

zplug "mafredri/zsh-async", \
  from:github,\
  use:"async.zsh"

zplug "sindresorhus/pure", \
  use:pure.zsh, \
  from:github, \
  as:theme

Direnv

Direnv lets you define environment variables locally to a folder container a .envrc file instead of polluting your global .zshrc.

It's available via the AUR on Arch Linux or Homebrew on macOS. Once it's installed, add the following somewhere in your .zshrc.

eval "$(direnv hook zsh)"

Thefuck

Thefuck is a utility that will repeat the last command you made correctly if you made a typo. ie.

$ git pshu

git: 'pshu' is not a git command. See 'git --help'.
The most similar command is
        push

$ fuck
git push

I typically install this with zplug and my OS package manager (named thefuck).

zplug "plugins/thefuck", \
  from:oh-my-zsh

Links


Content properties

  • Type: Note
  • Category: Software
  • Tags: productivity, tooling
  • Custom slug: None

This is a preview of a simpler page design that I'm working on over the next little bit. I've finally added a (click it!) but there's still a few pages left to be converted so don't worry if things don't look quite right just yet 🙏

Content on blog pages use the CC-BY-SA license. The source code and notes use the MIT license. Unsure? Mention me on Mastodon.