-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.zprofile
44 lines (34 loc) · 1.01 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
eval "$(/opt/homebrew/bin/brew shellenv)"
# EXPORT PATH
# added by Snowflake SnowSQL installer v1.2
export PATH=/Applications/SnowSQL.app/Contents/MacOS:$PATH
if [ -d $HOME/projects/flutter/bin ]; then
echo 'Flutter bin found'
export PATH="$PATH:$HOME/projects/flutter/bin"
fi
# Ruby
export GEM_HOME=$HOME/.gem
export PATH=$GEM_HOME/bin:$PATH
# SOURCES
if [ -f $HOME/snow.env ]; then
echo 'Snow Env Found'
source $HOME/snow.env
fi
# ALIASES
alias python='python3'
alias vim='nvim'
# TMUX
# Attaches tmux to the last session; creates a new session if none exists.
alias t='tmux attach || tmux new-session'
# Attaches tmux to a session (example: ta portal)
alias ta='tmux attach -t'
# Creates a new session
alias tn='tmux new-session'
# Lists all ongoing sessions
alias tl='tmux list-sessions'
# SOURCING CONFIG FILES
alias source-tmux='tmux source-file ~/.tmux.conf'
alias source-zsh='source ~/.zshrc'
# PERSONAL
alias set_web='cd ~/projects/sanjidnet.github.io'
alias set_local='cd /mnt/c/Users/SanjidRahman/projects/'