.zshrc hinzugefügt
This commit is contained in:
41
.zshrc
Normal file
41
.zshrc
Normal file
@@ -0,0 +1,41 @@
|
|||||||
|
export ZSH="$HOME/.oh-my-zsh"
|
||||||
|
|
||||||
|
ZSH_THEME="robbyrussell"
|
||||||
|
|
||||||
|
plugins=(git docker zsh-vi-mode)
|
||||||
|
|
||||||
|
source $ZSH/oh-my-zsh.sh
|
||||||
|
|
||||||
|
################################################################################################
|
||||||
|
# FOR MACBOOK
|
||||||
|
################################################################################################
|
||||||
|
|
||||||
|
if [[ "$OSTYPE" == "darwin"* ]]; then
|
||||||
|
|
||||||
|
# init homebrew
|
||||||
|
export LIBRARY_PATH="$LIBRARY_PATH:/opt/homebrew/lib"
|
||||||
|
|
||||||
|
# init maven from IntelliJ
|
||||||
|
alias mvn="~/Applications/IntelliJ\ IDEA\ Ultimate.app/Contents/plugins/maven/lib/maven3/bin/mvn"
|
||||||
|
|
||||||
|
# include postgres binaries installed from homebrew
|
||||||
|
export PATH="/usr/local/opt/libpq/bin:$PATH"
|
||||||
|
fi
|
||||||
|
|
||||||
|
# init NVM
|
||||||
|
if command -v nvm 2>&1 >/dev/null; then
|
||||||
|
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
|
||||||
|
fi
|
||||||
|
|
||||||
|
################################################################################################
|
||||||
|
# Common Aliases
|
||||||
|
################################################################################################
|
||||||
|
|
||||||
|
alias ls="ls -la --color"
|
||||||
|
|
||||||
|
STARTUP_FILE="~/.startup.sh"
|
||||||
|
if [ -f $STARTUP_FILE ]; then
|
||||||
|
STARTUP_FILE
|
||||||
|
fi
|
||||||
Reference in New Issue
Block a user