From 790364e47b0051724fdc4ddb7c858e185175390d Mon Sep 17 00:00:00 2001 From: 10sr <8.slashes@gmail.com> Date: Wed, 17 Feb 2021 19:10:15 +0900 Subject: [PATCH] Update --- emacs.el | 4 ++-- profile | 4 ++++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/emacs.el b/emacs.el index 62f6ce5..c378a62 100644 --- a/emacs.el +++ b/emacs.el @@ -387,14 +387,14 @@ Otherwize hook it." (setq-default major-mode 'text-mode) (setq next-line-add-newlines nil) (setq kill-read-only-ok t) -;; (setq truncate-partial-width-windows nil) ; when splitted horizontally ;; (setq-default line-spacing 0.2) (setq-default indicate-empty-lines t) ; when using x indicate empty line ;; (setq-default tab-width 4) (setq-default indent-tabs-mode nil) (setq-default indent-line-function 'indent-to-left-margin) ;; (setq-default indent-line-function nil) -(setq-default truncate-lines nil) +(setq-default truncate-lines t) +;; (setq truncate-partial-width-windows nil) ; when splitted horizontally ;; (pc-selection-mode 1) ; make some already defined keybind back to default (delete-selection-mode 1) (cua-mode 0) diff --git a/profile b/profile index c663cb5..81564f3 100755 --- a/profile +++ b/profile @@ -126,6 +126,10 @@ export PIPENV_VENV_IN_PROJECT=1 export PIPENV_MAX_DEPTH=10 # Defaults to 3 # Required when pipenv has been installed within pipx environment export PIPENV_IGNORE_VIRTUALENVS=1 +if test -f "$HOME"/.brew/bin/python3 +then + export PIPX_DEFAULT_PYTHON="$HOME"/.brew/bin/python3 +fi export STARDICT_DATA_DIR=$HOME/.brew/share/sdcv-dict-oxford