From 79035ca45fa13628fd8c34c369d6a8cbc22068b4 Mon Sep 17 00:00:00 2001 From: Humphrey Lin Date: Mon, 23 Nov 2020 13:00:31 +0800 Subject: Updated on Nov 23 2020 --- .vimrc | 8 ++++++-- .zshrc | 4 +++- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/.vimrc b/.vimrc index ba69b13..e60af53 100644 --- a/.vimrc +++ b/.vimrc @@ -16,8 +16,12 @@ set completeopt=menu,menuone " MacVim -set guifont=Monaco:h16 -set transparency=30 +if has("gui_running") + if has("gui_macvim") + set guifont=Monaco:h16 + set transparency=10 + endif +endif " Identation diff --git a/.zshrc b/.zshrc index 419c97b..70c1b22 100644 --- a/.zshrc +++ b/.zshrc @@ -20,7 +20,7 @@ export EDITOR=/usr/bin/vim # proxy export http_proxy=http://127.0.0.1:7890 export https_proxy=http://127.0.0.1:7890 -export all_proxy=socks5://127.0.0.1:7891 +export all_proxy=socks5://127.0.0.1:7890 export no_proxy=localhost,127.0.0.1 # System Specific @@ -29,6 +29,7 @@ Darwin) # commands for macOS export PATH="/usr/local/opt/openjdk/bin:$PATH" export CPPFLAGS="-I/usr/local/opt/openjdk/include" + [ -d $HOME/.gem ] && export GEM_HOME="$HOME/.gem" ;; Linux) # commands for Linux @@ -55,3 +56,4 @@ if ! zplug check --verbose; then fi fi zplug load + -- cgit v1.2.3