diff --git a/emacs.d/custom.el b/emacs.d/custom.el index bc532b1..5e8b278 100644 --- a/emacs.d/custom.el +++ b/emacs.d/custom.el @@ -40,4 +40,4 @@ ;; projectile (helm-projectile-on) -(setq projectile-project-search-path '("~/Development/")) +(setq projectile-project-search-path '("/c/development/")) diff --git a/emacs.d/default.el b/emacs.d/default.el index 0395a5d..2bdcbeb 100644 --- a/emacs.d/default.el +++ b/emacs.d/default.el @@ -7,15 +7,13 @@ (show-paren-mode) +(when window-system (progn + (set-frame-size (selected-frame) 100 30) + (menu-bar-mode -1) + (tool-bar-mode -1) + (scroll-bar-mode -1) + )) -(when (display-graphic-p) - (menu-bar-mode -1) - (tool-bar-mode -1) - (scroll-bar-mode -1)) -(display-graphic-p) - (menu-bar-mode -1) - (tool-bar-mode -1) - (scroll-bar-mode -1) (global-auto-revert-mode t) (global-linum-mode) diff --git a/emacs.d/init.el b/emacs.d/init.el index b5cee6c..098a7e7 100644 --- a/emacs.d/init.el +++ b/emacs.d/init.el @@ -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 diff --git a/emacs.d/python.el b/emacs.d/python.el index c877857..284dabd 100644 --- a/emacs.d/python.el +++ b/emacs.d/python.el @@ -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)) diff --git a/zshrc b/zshrc index 2e6f98f..d1b0c5f 100644 --- a/zshrc +++ b/zshrc @@ -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)