From e38827d4bf396f555b4eeaf623e9c3ede2f64c7f Mon Sep 17 00:00:00 2001 From: Josiah Ledbetter Date: Tue, 25 May 2021 11:41:59 -0500 Subject: [PATCH] Fix yasnippet issues, update some ignores. --- .emacs.d/jlj-generic.el | 3 ++- .emacs.d/snippets/python-mode/new-python-project | 2 +- .gitignore | 1 + .zshrc | 9 +++++++++ 4 files changed, 13 insertions(+), 2 deletions(-) diff --git a/.emacs.d/jlj-generic.el b/.emacs.d/jlj-generic.el index f209ab2..9924f90 100644 --- a/.emacs.d/jlj-generic.el +++ b/.emacs.d/jlj-generic.el @@ -54,7 +54,8 @@ (use-package yasnippet :ensure t :config - (yas-minor-mode-on)) + (yas-minor-mode-on) + (yas-global-mode 1)) (use-package fira-code-mode :custom (fira-code-mode-disabled-ligatures '("[]" "#{" "#(" "#_" "#_(" "x")) ;; List of ligatures to turn off diff --git a/.emacs.d/snippets/python-mode/new-python-project b/.emacs.d/snippets/python-mode/new-python-project index 6fdf2d7..e59adaf 100644 --- a/.emacs.d/snippets/python-mode/new-python-project +++ b/.emacs.d/snippets/python-mode/new-python-project @@ -1,4 +1,4 @@ -# -*- mode: snippet -*- +# -*- mode: python -*- # name: new python project # key: npp # -- diff --git a/.gitignore b/.gitignore index 82009d0..ff1337c 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ * .weechat/logs/ .emacs.d/emojis/ +.emacs.d/.cache/lsp/ diff --git a/.zshrc b/.zshrc index 37d7598..a115c64 100644 --- a/.zshrc +++ b/.zshrc @@ -72,3 +72,12 @@ echo -e "\e[31m || HATCHET\e[0m | $OSTYPE" echo -e "\e[31m ||\e[0m |" echo "" + +# The next line updates PATH for the Google Cloud SDK. +if [ -f '/Users/josiah.ledbetter/google-cloud-sdk/path.zsh.inc' ]; then . '/Users/josiah.ledbetter/google-cloud-sdk/path.zsh.inc'; fi + +# The next line enables shell command completion for gcloud. +if [ -f '/Users/josiah.ledbetter/google-cloud-sdk/completion.zsh.inc' ]; then . '/Users/josiah.ledbetter/google-cloud-sdk/completion.zsh.inc'; fi +if [ -e /Users/josiah.ledbetter/.nix-profile/etc/profile.d/nix.sh ]; then . /Users/josiah.ledbetter/.nix-profile/etc/profile.d/nix.sh; fi # added by Nix installer + +export PATH="$HOME/.poetry/bin:$PATH"