From decd709def67526c270e37d888693d5ef6dca990 Mon Sep 17 00:00:00 2001 From: "Simen A. W. Olsen" Date: Sat, 21 Nov 2020 14:01:35 +0100 Subject: a bunch of additions --- .zshrc | 41 +++++++++-------------------------------- 1 file changed, 9 insertions(+), 32 deletions(-) (limited to '.zshrc') diff --git a/.zshrc b/.zshrc index f75b9df..db5e0f4 100644 --- a/.zshrc +++ b/.zshrc @@ -12,14 +12,8 @@ ZSH_THEME="avit" plugins=( git - yarn - web-search - jsontools - macports - node - osx + osx sudo - thor docker ) @@ -83,31 +77,14 @@ POWERLEVEL9K_PROMPT_ADD_NEWLINE=true # Colorise the top Tabs of Iterm2 with the same color as background # Just change the 18/26/33 wich are the rgb values -echo -e "\033]6;1;bg;red;brightness;18\a" -echo -e "\033]6;1;bg;green;brightness;26\a" -echo -e "\033]6;1;bg;blue;brightness;33\a" - -# Add VSCode to PATH -export PATH="$PATH:/Applications/Visual Studio Code.app/Contents/Resources/app/bin" - -# Golang -export PATH="$PATH:$GOPATH/bin" - -# The next line updates PATH for Netlify's Git Credential Helper. -if [ -f '/Users/cobraz/.netlify/helper/path.zsh.inc' ]; then source '/Users/cobraz/.netlify/helper/path.zsh.inc'; fi +# echo -e "\033]6;1;bg;red;brightness;18\a" +# echo -e "\033]6;1;bg;green;brightness;26\a" +# echo -e "\033]6;1;bg;blue;brightness;33\a" autoload -U add-zsh-hook -export PATH="$HOME/.yarn/bin:$HOME/.config/yarn/global/node_modules/.bin:$PATH" -export PATH="/usr/local/sbin:$PATH" - -# The next line updates PATH for the Google Cloud SDK. -if [ -f '/Users/cobraz/google-cloud-sdk/path.zsh.inc' ]; then . '/Users/cobraz/google-cloud-sdk/path.zsh.inc'; fi - -# The next line enables shell command completion for gcloud. -if [ -f '/Users/cobraz/google-cloud-sdk/completion.zsh.inc' ]; then . '/Users/cobraz/google-cloud-sdk/completion.zsh.inc'; fi -export VISUAL="emacs" -export GOPATH=~/go -export PATH=$PATH:$GOPATH/bin -export VOLTA_HOME="$HOME/.volta" -export PATH="$VOLTA_HOME/bin:$PATH" +# Load .bashrc, +if [[ -r "${HOME}/.bashrc" ]]; then + # shellcheck source=/dev/null + source "${HOME}/.bashrc" +fi \ No newline at end of file -- cgit v1.2.3