diff options
author | William Carroll <wpcarro@gmail.com> | 2020-01-27T16·21+0000 |
---|---|---|
committer | William Carroll <wpcarro@gmail.com> | 2020-01-27T16·21+0000 |
commit | 7e1391cc47dbff891d9ebd2a734bdd3ead1ab56f (patch) | |
tree | 6439734bffc3cef50725d8d7e90f2c000f494cc7 | |
parent | 680d129cb3d5636e76fbf92265de630a1101f717 (diff) |
Rename mono -> universe
Update code that depends on my mono-repo being named "mono". I've renamed it to "universe", which explains the changes in this commit. TODO: Merge dotfiles into universe.
-rw-r--r-- | .envrc | 2 | ||||
-rw-r--r-- | configs/shared/.emacs.d/wpc/bookmark.el | 10 | ||||
-rw-r--r-- | configs/shared/.emacs.d/wpc/constants.el | 4 | ||||
-rw-r--r-- | configs/shared/.emacs.d/wpc/packages/wpc-nix.el | 2 |
4 files changed, 12 insertions, 6 deletions
diff --git a/.envrc b/.envrc index 0a0185c1985b..f097cc4eb456 100644 --- a/.envrc +++ b/.envrc @@ -1,2 +1,2 @@ export DOTFILES=~/dotfiles -NIX_PATH=nixpkgs=$HOME/.nix-defexpr/nixpkgs:depot=$HOME/depot:universe=$HOME/mono +NIX_PATH=nixpkgs=$HOME/.nix-defexpr/nixpkgs:depot=$HOME/depot:universe=$HOME/universe diff --git a/configs/shared/.emacs.d/wpc/bookmark.el b/configs/shared/.emacs.d/wpc/bookmark.el index 851f9be09436..734ddaa13a27 100644 --- a/configs/shared/.emacs.d/wpc/bookmark.el +++ b/configs/shared/.emacs.d/wpc/bookmark.el @@ -12,6 +12,10 @@ ;;; Code: +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +;; Dependencies +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; + (require 'f) (require 'buffer) (require 'list) @@ -58,8 +62,8 @@ Otherwise, open with `counsel-find-file'." (make-bookmark :label "org" :path "~/Dropbox/org" :kbd "o") - (make-bookmark :label "mono" - :path "~/mono" + (make-bookmark :label "universe" + :path "~/universe" :kbd "m") (make-bookmark :label "dotfiles" :path "~/dotfiles" @@ -77,7 +81,7 @@ Otherwise, open with `counsel-find-file'." (defun bookmark/magit-status () "Use ivy to select a bookmark and jump to its `magit-status' buffer." (interactive) - (let ((labels (set/new "dotfiles" "mono" "depot")) + (let ((labels (set/new "dotfiles" "universe" "depot")) (all-labels (->> bookmark/whitelist (list/map (>> bookmark-label)) set/from-list))) diff --git a/configs/shared/.emacs.d/wpc/constants.el b/configs/shared/.emacs.d/wpc/constants.el index bca2ad45e745..b4a57f49cf1e 100644 --- a/configs/shared/.emacs.d/wpc/constants.el +++ b/configs/shared/.emacs.d/wpc/constants.el @@ -10,9 +10,11 @@ ;; current consumers of these constants, and I'm unsure if the indirection that ;; globally defined constants introduces is worth it. -(defconst constants/current-project "~/mono" +(defconst constants/current-project "~/universe" "Variable holding the directory for my currently active project.") +(prelude/assert (f-directory? constants/current-project)) + (defconst constants/mouse-kbds '([mouse-1] [down-mouse-1] [drag-mouse-1] [double-mouse-1] [triple-mouse-1] [mouse-2] [down-mouse-2] [drag-mouse-2] [double-mouse-2] [triple-mouse-2] diff --git a/configs/shared/.emacs.d/wpc/packages/wpc-nix.el b/configs/shared/.emacs.d/wpc/packages/wpc-nix.el index e2e0983086fc..68d542e01176 100644 --- a/configs/shared/.emacs.d/wpc/packages/wpc-nix.el +++ b/configs/shared/.emacs.d/wpc/packages/wpc-nix.el @@ -8,7 +8,7 @@ ;; Dependencies ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -(prelude/assert (f-exists? "~/mono")) +(prelude/assert (f-exists? "~/universe")) (prelude/assert (f-exists? "~/depot")) ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |