-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.zshrc##class.Work
More file actions
81 lines (64 loc) · 2.44 KB
/
Copy path.zshrc##class.Work
File metadata and controls
81 lines (64 loc) · 2.44 KB
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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
# See https://github.com/robbyrussell/oh-my-zsh/wiki/Themes
# Don't change the below 3 rows order...
export ZSH=/Users/I525723/.oh-my-zsh
ZSH_THEME="af-magic"
source $ZSH/oh-my-zsh.sh
# enable zsh-completions
if type brew &>/dev/null; then
FPATH=$(brew --prefix)/share/zsh-completions:$FPATH
autoload -Uz compinit
compinit
fi
plugins=(
zsh-completions
autojump
)
# Aliases
alias zshconfig="code ~/.zshrc"
alias hotkeys="code /Users/I525723/.hammerspoon/"
alias command-hints="cat ~/.command-hints.md"
alias restart-shell="zsh -l"
alias dil='docker image ls'
alias dip='docker image prune -f'
alias dp='docker ps'
# autojump
[ -f $HOMEBREW_PREFIX/etc/profile.d/autojump.sh ] && . $HOMEBREW_PREFIX/etc/profile.d/autojump.sh
# disable Chrome's two/three finger 'go back/forward' navigation
defaults write com.google.Chrome AppleEnableSwipeNavigateWithScrolls -bool FALSE
# Emarsys
# Predict
export PREDICT_SRC=/Users/I525723/Documents/ems-repos/predict
export PYTHONPATH="$PREDICT_SRC"
export DROPBOX="$PREDICT_SRC/test-dropbox"
export DROPBOX_PROPERTIES="$DROPBOX/dropbox.properties"
export NEXUS_USER=emartech
export NEXUS_PASSWORD=7YbD2Nf6k7DdFSHD4Me8zRPvyy5A9Bgd
source $PREDICT_SRC/style/profile
# Predict aliases
alias lip="$PREDICT_SRC/style/predict-connect.sh login"
alias lop="$PREDICT_SRC/style/predict-connect.sh logout"
alias cep="$PREDICT_SRC/style/predict-connect.sh check"
. "$HOME/.local/bin/env"
#THIS MUST BE AT THE END OF THE FILE FOR SDKMAN TO WORK!!!
export SDKMAN_DIR="$HOME/.sdkman"
[[ -s "$HOME/.sdkman/bin/sdkman-init.sh" ]] && source "$HOME/.sdkman/bin/sdkman-init.sh"
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
# VS Code Shell Integration for Copilot
# Fix for terminal completion detection issue
if [[ "$TERM_PROGRAM" == "vscode" ]]; then
# Disable RPROMPT in VS Code (causes detection issues)
unset RPROMPT
unset RPS1
# Load VS Code shell integration
[[ -f "$(code --locate-shell-integration-path zsh)" ]] && \
. "$(code --locate-shell-integration-path zsh)"
fi
# Android SDK
export ANDROID_HOME=$HOME/Library/Android/sdk
export PATH=$PATH:$ANDROID_HOME/emulator
export PATH=$PATH:$ANDROID_HOME/platform-tools
# Java 17 (bundled with Android Studio)
export JAVA_HOME="/Applications/Android Studio.app/Contents/jbr/Contents/Home"
export PATH="$JAVA_HOME/bin:$PATH"