Last active
March 8, 2019 09:26
-
-
Save EgidioCaprino/32235e0e879550679e144457336d4084 to your computer and use it in GitHub Desktop.
ZSH config
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ZSH=/usr/share/oh-my-zsh/ | |
ZSH_THEME="agnoster" | |
DISABLE_AUTO_UPDATE="true" | |
plugins=( | |
git | |
z | |
) | |
ZSH_CACHE_DIR=$HOME/.cache/oh-my-zsh | |
if [[ ! -d $ZSH_CACHE_DIR ]]; then | |
mkdir $ZSH_CACHE_DIR | |
fi | |
source $ZSH/oh-my-zsh.sh | |
export ANDROID_HOME="${HOME}/Android/Sdk" | |
export PATH="${PATH}:${ANDROID_HOME}/emulator:${ANDROID_HOME}/tools:${ANDROID_HOME}/tools/bin:${ANDROID_HOME}/platform-tools" | |
export JAVA_HOME="/usr/lib/jvm/default-runtime" | |
alias upgrade='sudo pacman --sync --refresh --sysupgrade --noconfirm \ | |
&& aurman --sync --refresh --sysupgrade --noconfirm --noedit --skip_news --skip_new_locations \ | |
&& sudo npm update --global \ | |
&& sudo pacman --remove --recursive --nosave --noconfirm $(pacman --query --unrequired --deps --quiet)' | |
source /usr/share/nvm/init-nvm.sh | |
powerline-daemon -q | |
. /usr/lib/python3.7/site-packages/powerline/bindings/zsh/powerline.zsh |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment