aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.vimrc8
-rw-r--r--.zshrc4
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
+