From 822ebc91072bb7b8e5440ee5059775bfa86e3b0d Mon Sep 17 00:00:00 2001 From: hophacker Date: Mon, 6 Apr 2020 09:57:25 +0800 Subject: [PATCH] spacevim c and format, fix unset_proxy --- SpaceVim.d/init.toml | 6 ++++++ zsh/functions.zsh | 2 ++ 2 files changed, 8 insertions(+) diff --git a/SpaceVim.d/init.toml b/SpaceVim.d/init.toml index a980d5f..cf3d344 100644 --- a/SpaceVim.d/init.toml +++ b/SpaceVim.d/init.toml @@ -76,3 +76,9 @@ name = "lang#markdown" [[layers]] name = "lang#go" + +[[layers]] +name = "lang#c" + +[[layers]] +name = "format" diff --git a/zsh/functions.zsh b/zsh/functions.zsh index 1784f58..c49e19e 100644 --- a/zsh/functions.zsh +++ b/zsh/functions.zsh @@ -51,6 +51,8 @@ function set_ss_proxy() { } function unset_proxy() { unset all_proxy + unset http_proxy + unset https_proxy } function post { curl -H "Content-Type: application/json" -X POST -d $1 $2