postgres install + python fix

This commit is contained in:
Chen Asraf
2022-01-27 10:41:15 +02:00
parent 93d75966f6
commit c1eb4190c5
2 changed files with 6 additions and 4 deletions

View File

@@ -17,17 +17,18 @@ alias dv="cd $HOME/Dev"
alias dt="cd $HOME/Desktop"
alias dl="cd $HOME/Downloads"
alias serve="python3 -m http.server ${PORT:-3001}"
alias python="PYTHONPATH=$(pwd):$PYTHONPATH python"
alias python3="PYTHONPATH=$(pwd):$PYTHONPATH python3"
alias python2="PYTHONPATH=$(pwd):$PYTHONPATH $(whence python)"
alias python3="PYTHONPATH=$(pwd):$PYTHONPATH $(whence python3)"
alias python="python3"
alias -g G="| grep -i"
alias brew-dump="brew bundle dump --describe"
alias epwd="echo $(pwd)"
# Functions
mansect () { man -aWS ${1?man section not provided} \* | xargs basename | sed "s/\.[^.]*$//" | sort -u; }
mansect() { man -aWS ${1?man section not provided} \* | xargs basename | sed "s/\.[^.]*$//" | sort -u; }
# TODO not working with custom commands...
tcd () {
tcd() {
source $HOME/.zshrc
cd $1
shift

View File

@@ -9,6 +9,7 @@ export PATH="$HOME/.gem/ruby/3.0.0/bin:$PATH"
export PATH="/opt/homebrew/opt/ruby/bin:$PATH"
export PATH="/opt/homebrew/opt/flex/bin:$PATH"
export PATH="/opt/homebrew/opt/make/libexec/gnubin:$PATH"
export PATH="/Applications/Postgres.app/Contents/Versions/latest/bin:$PATH"
# Path to your oh-my-zsh installation.
export ZSH="$HOME/.oh-my-zsh"