From 12f0be2a5013c92f666dc48809c27a25e9c5000b Mon Sep 17 00:00:00 2001 From: augustin64 Date: Sat, 23 Dec 2023 15:30:28 +0100 Subject: [PATCH] Update README.md --- README.md | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 5f3ffe3..a04976e 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ 2020: ***~..................... 2021: *******~~~............... 2022: ***************~.*..*.... -2023: **********............... +2023: **********************~.. .: nothing ~: 1 star @@ -20,9 +20,17 @@ Add this to your `.bashrc`: AOC_PATH=$HOME/path/to/this/repo/ alias aoc="$AOC_PATH/utils/cli.py" aoc-new () { + # To create a new day cd $AOC_PATH PATH="$PATH:$AOC_PATH" - $AOC_PATH/new_day.sh - PS1="$PS1[aoc] " + $AOC_PATH/utils/new_day.sh + export PYTHONPATH="$PYTHONPATH:$AOC_PATH" +} + +aoc-env () { + # To load the AoC environment + cd $AOC_PATH + PATH="$PATH:$AOC_PATH" + export PYTHONPATH="$PYTHONPATH:$AOC_PATH" } ``` \ No newline at end of file