[go: up one dir, main page]

05 Jul 25

The different sorts aliases you can use in zsh…I only new about the simple kind!

by eli 7 months ago saved 6 times

19 Apr 23

rc is a Unix shell I’ve been working on over the past couple of weeks, though it’s been in the design stages for a while longer than that. It’s not done or ready for general use yet, but it is interesting, so let’s talk about it.

by eli 2 years ago saved 2 times

27 Oct 22

#!/usr/bin/env bash

set -o errexit set -o nounset set -o pipefail if [[ “${TRACE-0}” == “1” ]]; then

set -o xtrace

fi

if [[ “${1-}” =~ ^-*h(elp)?$ ]]; then

echo 'Usage: ./script.sh arg-one arg-two

This is an awesome bash script to make your life better.

exit

fi

cd “$(dirname “$0”)”

main() {

echo do awesome stuff

}

main “$@”

by eli 3 years ago saved 4 times