mirror of
https://github.com/chenasraf/dotfiles.git
synced 2026-05-17 17:28:07 +00:00
postgres install + python fix
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user