2021-12-01 15:20:51 +01:00
|
|
|
# advent-of-code
|
2023-12-01 10:51:29 +01:00
|
|
|
|
|
|
|
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] "
|
|
|
|
}
|
|
|
|
```
|