aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHumphrey Lin <[email protected]>2020-11-23 13:00:31 +0800
committerHumphrey Lin <[email protected]>2020-11-23 13:00:31 +0800
commit79035ca45fa13628fd8c34c369d6a8cbc22068b4 (patch)
treefc0b044b7b79d52e2244e2ae5db86770423577d2
parent43246f81ae9f06f80ca1473f3322760d6be8a241 (diff)
downloaddotfiles-79035ca45fa13628fd8c34c369d6a8cbc22068b4.tar.gz
dotfiles-79035ca45fa13628fd8c34c369d6a8cbc22068b4.tar.bz2
dotfiles-79035ca45fa13628fd8c34c369d6a8cbc22068b4.zip
Updated on Nov 23 2020
-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
+