Update zshrc: add poetry config, tweak alias
This commit is contained in:
parent
c9b7a98207
commit
94cd7cccb3
7
zshrc
7
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
|
||||
|
|
Loading…
Reference in New Issue