advent-of-code/README.md
2023-12-01 10:51:29 +01:00

13 lines
223 B
Markdown

# advent-of-code
Add this to your `.bashrc`:
```bash
AOC_PATH=$HOME/path/to/this/repo/
alias aoc="$AOC_PATH/utils/cli.py"
aoc-new () {
cd $AOC_PATH
PATH="$PATH:$AOC_PATH"
$AOC_PATH/new_day.sh
PS1="$PS1[aoc] "
}
```