-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathzshrc.link
49 lines (35 loc) · 1.25 KB
/
zshrc.link
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
45
46
47
48
49
#!/bin/zsh
export NVM_DIR="$HOME/.nvm"
. "/usr/local/opt/nvm/nvm.sh"
export GOPATH=$HOME/go
export PATH=$PATH:$GOPATH/bin
export PATH=$PATH:$HOME/.local/bin
export PATH=$PATH:$HOME/projects/flutter/bin:$PATH
# use sindresorhus's pure prompt
autoload -U promptinit; promptinit
prompt pure
# Preferred editor
export PLUGINS=~/.zsh-plugins
export EDITOR=atom
# Project Home Folder
export PROJECTS_HOME=~/projects
# Compilation flags
# export ARCHFLAGS="-arch x86_64"
# ssh
export SSH_KEY_PATH="~/.ssh/rsa_id"
# Person aliases
alias zshconfig="$EDITOR ~/.zshrc"
alias reloadshell="source ~/.zshrc"
# Enable Plugins
# Project
source $PLUGINS"/project/project.sh"
# k
source $PLUGINS"/k/k.plugin.zsh"
# source /usr/local/share/zsh-autosuggestions/zsh-autosuggestions.zsh
# Enable syntax highlighting -- MUST BE LAST LINE
source $PLUGINS"/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh"
# tabtab source for electron-forge package
# uninstall by removing these lines or running `tabtab uninstall electron-forge`
[[ -f /Users/ada/github/love-letters/node_modules/tabtab/.completions/electron-forge.zsh ]] && . /Users/ada/github/love-letters/node_modules/tabtab/.completions/electron-forge.zsh
[ -f ~/.fzf.zsh ] && source ~/.fzf.zsh
eval $(/usr/libexec/path_helper -s)