From 23ae098d9839bfe78ae22ff0575a0ebde9429229 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Wed, 13 Jun 2018 11:19:33 -0700 Subject: [emacs] Move back some configs to init.el --- emacs.d/config/config-env.el | 41 ---------------------------------------- emacs.d/config/config-package.el | 22 --------------------- 2 files changed, 63 deletions(-) delete mode 100644 emacs.d/config/config-env.el delete mode 100644 emacs.d/config/config-package.el (limited to 'emacs.d/config') diff --git a/emacs.d/config/config-env.el b/emacs.d/config/config-env.el deleted file mode 100644 index 328914e..0000000 --- a/emacs.d/config/config-env.el +++ /dev/null @@ -1,41 +0,0 @@ -(defvar fcuny-path-home (getenv "HOME") - "Path to the user's home directory.") - -(defvar fcuny-path-workspace (expand-file-name "workspace" fcuny-path-home) - "Path to the workspace.") - -(defvar fcuny-path-git-twitter (expand-file-name "git.twitter.biz" fcuny-path-workspace) - "Path to twitter's git repositories.") - -(defvar fcuny-path-git-github (expand-file-name "github.com" fcuny-path-workspace) - "Path to github's git repositories.") - -(defvar fcuny-path-svn-twitter (expand-file-name "svn.twitter.biz" fcuny-path-workspace) - "Path to twitter's SVN repositories.") - -(defvar fcuny-path-puppet-linter-svn (expand-file-name "twitter-ops/utilities/puppet/.puppet-lint.rc" - fcuny-path-svn-twitter) - "Path to the linter's configuration for twitter-ops.") - -(defvar fcuny-path-puppet-linter-gcp (expand-file-name "gcp-puppet-manifests/.puppet-lint-rc" - fcuny-path-git-twitter) - "Path to the linkter's configucation for gcp-puppet-manifests.") - -(defvar fcuny-path-emacs-var (expand-file-name "var" user-emacs-directory) - "Path to some files for Emacs.") - -(defvar fcuny-path-emacs-elpa (expand-file-name "elpa" fcuny-path-emacs-var) - "Path to elpa's local files.") - -(defvar fcuny-projects-ignored-dirs - '(".git" ".svn" "target" - "elpa")) - -(defvar fcuny-projects-ignored-files - '(".DS_Store" - "*.pyc" - "*.jar" - "*.zip" "*.tar.gz" "*.tgz" "*.gz" - "TAGS")) - -(provide 'config-env) diff --git a/emacs.d/config/config-package.el b/emacs.d/config/config-package.el deleted file mode 100644 index 1b7c6f0..0000000 --- a/emacs.d/config/config-package.el +++ /dev/null @@ -1,22 +0,0 @@ -;; where to store the packages -(setq package-user-dir fcuny-path-emacs-elpa) - -(require 'package) -(add-to-list 'package-archives '("melpa" . "http://melpa.org/packages/") t) - -;; initialize it -(package-initialize) - -;; paradox is a better interface -(when (not (package-installed-p 'paradox)) - (package-install 'paradox)) - -(setq paradox-github-token t) - -(paradox-require 'use-package) - -(require 'use-package) - -(setq use-package-always-ensure t) - -(provide 'config-package) -- cgit 1.4.1