From f2bf83a622847ae2d9d06ef8ba468fcd5ba569b9 Mon Sep 17 00:00:00 2001 From: James Patrick Date: Fri, 15 May 2020 12:15:13 -0400 Subject: [PATCH] Added resourced to get my ruby setup working --- emacs/doom.d/init.el | 12 +++++++++--- emacs/doom.d/packages.el | 2 ++ zsh/environment/host/zuk/zprofile | 2 ++ 3 files changed, 13 insertions(+), 3 deletions(-) diff --git a/emacs/doom.d/init.el b/emacs/doom.d/init.el index 215c1af..7d5e4ef 100644 --- a/emacs/doom.d/init.el +++ b/emacs/doom.d/init.el @@ -96,7 +96,7 @@ :tools ;;ansible - ;;debugger ; FIXME stepping through code, to help you add bugs + debugger ; FIXME stepping through code, to help you add bugs ;;direnv (docker +lsp) editorconfig ; let someone else argue about tabs vs spaces @@ -104,7 +104,10 @@ (eval +overlay) ; run code, run (also, repls) ;;gist ; interacting with github gists (lookup ; helps you navigate your code and documentation - +docsets) ; ...or in Dash docsets locally + +dictionary + +docsets ; ...or in Dash docsets locally + +offline + +xwidget) lsp ;;macos ; MacOS-specific commands magit ; a git porcelain for Emacs @@ -169,7 +172,10 @@ ;;racket ; a DSL for DSLs ;;rest ; Emacs as a REST client ;;rst ; ReST in peace - ruby ; 1.step {|i| p "Ruby is #{i.even? ? 'love' : 'life'}"} + (ruby ; 1.step {|i| p "Ruby is #{i.even? ? 'love' : 'life'}"} + +lsp ; LSP really do make things easier huh? + +rails ; ruby != rails but rails == ruby + +chruby) ; The easier version ;;rust ; Fe2O3.unwrap().unwrap().unwrap().unwrap() ;;scala ; java, but good ;;scheme ; a fully conniving family of lisps diff --git a/emacs/doom.d/packages.el b/emacs/doom.d/packages.el index e9a2fd7..ef145a8 100644 --- a/emacs/doom.d/packages.el +++ b/emacs/doom.d/packages.el @@ -3,6 +3,8 @@ (package! vimrc-mode) (package! graphviz-dot-mode) + +(package! postcss-sorting) ;;; Examples: ;; (package! pretty-mode) ;; (package! some-package) diff --git a/zsh/environment/host/zuk/zprofile b/zsh/environment/host/zuk/zprofile index eaa5b0d..19b0b54 100644 --- a/zsh/environment/host/zuk/zprofile +++ b/zsh/environment/host/zuk/zprofile @@ -1 +1,3 @@ source /usr/share/chruby/chruby.sh +source /usr/share/chruby/auto.sh +chruby ruby