tweaks for wsl

This commit is contained in:
Grant Hunter 2019-12-05 11:22:59 -07:00
parent 102ff42d7e
commit f83634dce0
5 changed files with 16 additions and 15 deletions

View File

@ -40,4 +40,4 @@
;; projectile
(helm-projectile-on)
(setq projectile-project-search-path '("~/Development/"))
(setq projectile-project-search-path '("/c/development/"))

View File

@ -7,15 +7,13 @@
(show-paren-mode)
(when (display-graphic-p)
(menu-bar-mode -1)
(tool-bar-mode -1)
(scroll-bar-mode -1))
(display-graphic-p)
(when window-system (progn
(set-frame-size (selected-frame) 100 30)
(menu-bar-mode -1)
(tool-bar-mode -1)
(scroll-bar-mode -1)
))
(global-auto-revert-mode t)
(global-linum-mode)

View File

@ -28,6 +28,7 @@
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
'(elpy-rpc-python-command "/c/docker_data/docker_python.sh")
'(flycheck-checker-error-threshold 100000)
'(package-selected-packages
(quote

View File

@ -1,9 +1,5 @@
(elpy-enable)
(setq elpy-rpc-python-command "/usr/local/Cellar/python3/3.7.3/bin/python3")
(setq python-shell-interpreter "/usr/local/Cellar/python3/3.7.3/bin/python3")
(setq flycheck-python-pycompile-executable "/usr/local/Cellar/python3/3.7.3/bin/python3")
(setq flycheck-python-flake8-executable "/usr/local/Cellar/python3/3.7.3/bin/python3")
(setq flycheck-python-pylint-executable "/usr/local/Cellar/python3/3.7.3/bin/python3")
(when (require 'flycheck nil t)
(setq elpy-modules (delq 'elpy-module-flymake elpy-modules))

8
zshrc
View File

@ -102,10 +102,16 @@ source $ZSH/oh-my-zsh.sh
setopt noincappendhistory
setopt nosharehistory
e() {emacs "$@" &; disown}
e() {emacsclient -a "" -qc -n "$@" &; disown}
alias ec="emacsclient -qc -n"
export DOCKER_HOST=tcp://localhost:2375
export DISPLAY=localhost:0.0
export PATH="$PATH:$HOME/.local/bin"
export PATH="/home/ghunter/.pyenv/bin:$PATH"
eval "$(pyenv init -)"
eval "$(pyenv virtualenv-init -)"
source <(kubectl completion zsh)