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.
This commit is contained in:
William Carroll 2020-01-27 16:21:30 +00:00
parent 680d129cb3
commit 7e1391cc47
4 changed files with 12 additions and 6 deletions

2
.envrc
View file

@ -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

View file

@ -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)))

View file

@ -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]

View file

@ -8,7 +8,7 @@
;; Dependencies
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
(prelude/assert (f-exists? "~/mono"))
(prelude/assert (f-exists? "~/universe"))
(prelude/assert (f-exists? "~/depot"))
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;