From 403ab26cd53a55d2d9ec174a7a6998333aa41208 Mon Sep 17 00:00:00 2001 From: 10sr <8.slashes@gmail.com> Date: Wed, 12 Aug 2020 17:09:36 +0900 Subject: [PATCH] Fix pipenv environment --- emacs.el | 5 +++-- profile | 2 ++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/emacs.el b/emacs.el index 8776cb6..57eb159 100644 --- a/emacs.el +++ b/emacs.el @@ -1159,13 +1159,14 @@ THEM are function and its args." default-directory))) (set-variable 'fzf/window-height 12) (set-variable 'fzf/args - (concat "--print-query " + (concat ;; "--print-query " "--ansi " "--color='bg+:-1' " "--inline-info " "--cycle " ;; TODO: fix - ;; "--reverse " + "--reverse " + ;; "--print0 " (format "--prompt='[%s]> ' " dir))) (fzf/start dir) diff --git a/profile b/profile index 35e0871..c663cb5 100755 --- a/profile +++ b/profile @@ -124,6 +124,8 @@ export PIP_USER=1 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 export STARDICT_DATA_DIR=$HOME/.brew/share/sdcv-dict-oxford