Articles tagged with Shell
I discovered a lot of tools this year, most of them I now rely on daily. So I thought it would be a nice time to share them with various custom configs I wrote.
TL;DR: install zoxide, direnv, starship and atuin and have this in your .zshrc (or .bashrc …
Read more...
Useful to have a notification when a long command completes.
To enable it, add zbell to your plugins array if you are using oh-my-zsh or source the definition file.
To configure:
- The minimum time commands must take for the notification to happen, use: ZBELL_DURATION. For instance ZBELL_DURATION …
Read more...
Use this at the top of all your Bash scripts to avoid problems:
# Exit on error.
set -e
# Don't allow undefined variable.
set -u
# Make pipeline fail if any command in it fail.
set -o pipefail
Read more...