From 46add5825b35c0e5c1b8491690ffaa0c3c2d481c Mon Sep 17 00:00:00 2001 From: Jeremy Dormitzer Date: Thu, 14 Oct 2021 12:09:51 -0400 Subject: [PATCH] COF changes --- emacs/.emacs.d/init.el | 7 +++++++ zsh/.zprofile | 4 ++++ 2 files changed, 11 insertions(+) diff --git a/emacs/.emacs.d/init.el b/emacs/.emacs.d/init.el index 3fc1ebc..655b465 100644 --- a/emacs/.emacs.d/init.el +++ b/emacs/.emacs.d/init.el @@ -1,5 +1,11 @@ ;; -*- lexical-binding: t; -*- +;; Corporate proxy +(setq url-proxy-services + '(("https" . "ashproxy.kdc.capitalone.com:8099") + ("http" . "ashproxy.kdc.capitalone.com:8099") + ("no_proxy" . "127.0.0.1|localhost|.local|169.254.169.254|.kdc.capitalone.com|.cloud.capitalone.com|.clouddqt.capitalone.com"))) + ;; Some startup time optimizations stolen from Doom emacs (defvar file-name-handler-alist-backup file-name-handler-alist) (setq file-name-handler-alist nil) @@ -39,6 +45,7 @@ ;; "Garbage Collection Magic Hack" (use-package gcmh + :straight (:host github :repo "emacsmirror/gcmh") :demand t :config (gcmh-mode 1)) diff --git a/zsh/.zprofile b/zsh/.zprofile index 62c06b0..753ad6b 100644 --- a/zsh/.zprofile +++ b/zsh/.zprofile @@ -2,3 +2,7 @@ ulimit -n 10240 export PATH="$PATH:/Users/jdormit/.local/bin" eval "$(pyenv init --path)" export SYSTEM_VERSION_COMPAT=1 + +if [ -f /usr/local/cof/bin/cofproxy ] #source_cofproxy + then source /usr/local/cof/bin/cofproxy > /dev/null 2>&1 #source_cofproxy +fi #source_cofproxy