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

223 B

advent-of-code

Add this to your .bashrc:

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] "
}