Skip to content

jaidetree/dotfiles

Repository files navigation

Install Packages & Setup

Usage

Tangle files

Generates an install.sh as well as relevant config files. This file should prompt on save to tangle automatically.

(org-babel-tangle)

Install packages

Install the HomeBrew packages

sh ./install.sh

Setup

#!/usr/bin/env bash

Packages

direnv

direnv provides hooks to load local .envrc files in projects into the shell environment. It’s useful because I don’t have to remember to set environment variables for every project that requires them. A key usecase is setting the DOCKER_HOST if I want to offload the VM to a remote server over SSH.

Install

brew install direnv

vterm

A virtual terminal that renders nicely in emacs. Requires cmake.

brew install libvterm cmake

Package Config

Elvish

brew install elvish
source elvish/install.sh

Lua & Fennel

luarocks install --local readline HISTORY_DIR=/usr/local/Cellar/readline/8.1 READLINE_DIR=/usr/local/Cellar/readline/8.1

Hints

Org-mode Doc Config to Tangle to Dynamic Filenames

:CONFIG:
#+property: header-args:elvish :tangle (concat (file-name-sans-extension (buffer-file-name)) ".elv")
#+property: header-args :mkdirp yes :comments no
#+startup: indent
:END:

Org File Config

;; Local Variables: ;; eval: (add-hook ‘after-save-hook (lambda ()(if (y-or-n-p “Tangle?”)(org-babel-tangle))) nil t) ;; End:

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published