Compare commits

...

3 Commits

Author SHA1 Message Date
24ef85c2a1 Configure some environment variables 2024-02-11 00:12:22 -05:00
c470c2d609 Set up terraform language server 2024-02-11 00:12:04 -05:00
752cac8f96 Set up ruby 2024-02-11 00:11:50 -05:00
5 changed files with 23 additions and 4 deletions

View File

@ -191,6 +191,8 @@
(html-web-mode . eglot-ensure) (html-web-mode . eglot-ensure)
(scala-mode . eglot-ensure) (scala-mode . eglot-ensure)
(c-mode . eglot-ensure) (c-mode . eglot-ensure)
(terraform-mode . eglot-ensure)
(ruby-mode . eglot-ensure)
:custom :custom
(eglot-confirm-server-initiated-edits nil)) (eglot-confirm-server-initiated-edits nil))

View File

@ -0,0 +1,8 @@
;; -*- lexical-binding: t; -*-
(use-package ruby-mode
:straight (:typebuilt-in))
(use-package rbenv
:hook (after-init . global-rbenv-mode))
(provide 'init-ruby)

View File

@ -50,8 +50,9 @@
(exec-path-from-shell-variables (exec-path-from-shell-variables
'("PATH" "MANPATH" "INFOPATH" "LEDGER_FILE" '("PATH" "MANPATH" "INFOPATH" "LEDGER_FILE"
"WORKON_HOME" "PIPENV_VERBOSITY" "PIPENV_DONT_LOAD_ENV" "WORKON_HOME" "PIPENV_VERBOSITY" "PIPENV_DONT_LOAD_ENV"
"PIPENV_MAX_DEPTH" "PYENV_ROOT" "KOPS_STATE_STORE" "PIPENV_MAX_DEPTH" "PIPENV_VENV_IN_FILE" "PYENV_ROOT"
"PLAID_CLIENT_ID" "PLAID_SECRET" "PLAID_ENVIRONMENT")) "KOPS_STATE_STORE" "PLAID_CLIENT_ID" "PLAID_SECRET"
"PLAID_ENVIRONMENT"))
(exec-path-from-shell-check-startup-files nil) (exec-path-from-shell-check-startup-files nil)
(exec-path-from-shell-arguments '("-l"))) (exec-path-from-shell-arguments '("-l")))
@ -94,6 +95,7 @@
(require 'init-java) (require 'init-java)
(require 'init-scala) (require 'init-scala)
(require 'init-js) (require 'init-js)
(require 'init-ruby)
(require 'init-rust) (require 'init-rust)
(require 'init-web) (require 'init-web)
(require 'init-xml) (require 'init-xml)

View File

@ -1,5 +1,6 @@
tap "clojure/tools" tap "clojure/tools"
tap "homebrew/bundle" tap "homebrew/bundle"
tap "hashicorp/tap"
tap "homebrew/cask" tap "homebrew/cask"
tap "homebrew/cask-versions" tap "homebrew/cask-versions"
tap "homebrew/core" tap "homebrew/core"
@ -37,15 +38,17 @@ brew "prettier"
brew "pyenv" brew "pyenv"
brew "pyright" brew "pyright"
brew "python@3.9" brew "python@3.9"
brew "rbenv"
brew "restic" brew "restic"
brew "ripgrep" brew "ripgrep"
brew "ruby" brew "ruby-build"
brew "sbt" brew "sbt"
brew "scala" brew "scala"
brew "seamstress" brew "seamstress"
brew "starship" brew "starship"
brew "stow" brew "stow"
brew "sqlite" brew "sqlite"
brew "terraform-ls"
brew "texinfo" brew "texinfo"
brew "typescript-language-server" brew "typescript-language-server"
brew "vscode-langservers-extracted" brew "vscode-langservers-extracted"

View File

@ -27,7 +27,7 @@ then
fi fi
export PIPENV_MAX_DEPTH=20 export PIPENV_MAX_DEPTH=20
export PIPENV_VENV_IN_PROJECT=yes export PIPENV_VENV_IN_PROJECT=1
if [ -d "/opt/homebrew/Caskroom/google-cloud-sdk" ]; then if [ -d "/opt/homebrew/Caskroom/google-cloud-sdk" ]; then
source "/opt/homebrew/Caskroom/google-cloud-sdk/latest/google-cloud-sdk/completion.zsh.inc" source "/opt/homebrew/Caskroom/google-cloud-sdk/latest/google-cloud-sdk/completion.zsh.inc"
@ -35,3 +35,7 @@ if [ -d "/opt/homebrew/Caskroom/google-cloud-sdk" ]; then
fi fi
[[ -e "$HOME/.cargo/env" ]] && . "$HOME/.cargo/env" [[ -e "$HOME/.cargo/env" ]] && . "$HOME/.cargo/env"
if command -v rbenv &> /dev/null; then
eval "$(rbenv init - zsh)"
fi