diff --git a/zshrc b/zshrc index a06c1ca..bd6808b 100644 --- a/zshrc +++ b/zshrc @@ -110,6 +110,9 @@ export PATH=$HOME/bin:$PATH # set up asdf (must be after paths) . $HOME/.asdf/asdf.sh +# set up poetry +. $HOME/.poetry/env + # Git aliases git config --global alias.co checkout git config --global alias.ci commit @@ -119,9 +122,9 @@ git config --global alias.br branch # Other aliases # recursive grep with line numbers and colour, ignoring binary files: -alias gnr="grep -nR -I --color" +alias gnr="grep -nR -I --exclude-dir='.*' --color" # same but case-insensitive: -alias gnri="grep -nRi -I --color" +alias gnri="grep -nRi -I --exclude-dir='.*' --color" # Postgres default user: export PGUSER=postgres