From 94cd7cccb3f09a866edc51fe4d56fc3cde70cfdb Mon Sep 17 00:00:00 2001 From: Rob Watson Date: Tue, 14 Jul 2020 15:26:41 +0200 Subject: [PATCH] Update zshrc: add poetry config, tweak alias --- zshrc | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) 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