-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.zprofile
45 lines (36 loc) · 1.26 KB
/
.zprofile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
#Set PATH, MANPATH, etc., for Homebrew.
eval "$(/opt/homebrew/bin/brew shellenv)"
# Bash Aliases
alias ..='cd ..'
alias cl="clear"
alias ll="ls -lahG"
alias www="cd ~/Sites"
alias sand="cd ~/Sandbox"
alias wg="cd ~/Sites/wannago"
alias dot="cd ~/.dotfiles"
alias tedd="cd ~/Sites/tedd.online"
alias config="cd ~/.config"
# SRAM Aliases
alias axs="cd ~/Sites/bikerack"
alias kh="cd ~/Sites/kittyhawk/"
# Git Commands
alias ga="git add ."
alias glg="git log --graph --pretty='format:%C(red)%d%C(reset) %C(yellow)%h%C(reset) %ar %C(green)%aN%C(reset) %s'"
alias gs="git status"
alias grec="git for-each-ref --sort=-committerdate refs/heads/ --format='%(committerdate:short) %(refname:short)'"
# ZSH Aliases
alias zconfig="nvim ~/.zshrc"
alias zprofile="nvim ~/.zprofile"
alias omz="nvim ~/.oh-my-zsh"
alias zsource="source ~/.zprofile"
# Utility
alias pd="pretty-diff"
# VSCODE
code () { VSCODE_CWD="$PWD" open -n -b "com.microsoft.VSCode" --args $* ;}
# Setting PATH for Python 3.11
# The original version is saved in .zprofile.pysave
PATH="/Library/Frameworks/Python.framework/Versions/3.11/bin:${PATH}"
export PATH
# Python aliases
alias python="/Library/Frameworks/Python.framework/Versions/3.11/bin/python3"
alias pip="/Library/Frameworks/Python.framework/Versions/3.11/bin/pip3"