My scripts and other assorted dev tools
- Don't use file extensions on scripts in
bin/
. E.g.foobar
notfoobar.sh
orfoobar.py
. Less typing overrides proper naming in this case. - Use
#!/usr/bin/env NAME
as the shebang line. - Shell scripts are written for bash, even though I use zsh as an interactive shell.
- Python scripts can assume a "recent" version of python3.
Where {{PATH_TO_THIS_REPO}}
is the actual absolute path to the directory where you've cloned this repository:
source "{{PATH_TO_THIS_REPO}}/dotfiles/command_aliases.sh"
export PATH=$PATH:{{PATH_TO_THIS_REPO}}/bin
[core]
excludesfile = {{PATH_TO_THIS_REPO}}/dotfiles/gitignore_global
[include]
path = {{PATH_TO_THIS_REPO}}/dotfiles/gitconfig