Browse Source

Fix pipenv environment

master
10sr 3 years ago
parent
commit
403ab26cd5
Signed by: 10sr GPG Key ID: 7BEC428194130EB2
2 changed files with 5 additions and 2 deletions
  1. +3
    -2
      emacs.el
  2. +2
    -0
      profile

+ 3
- 2
emacs.el View File

@@ -1159,13 +1159,14 @@ THEM are function and its args."
default-directory))) default-directory)))
(set-variable 'fzf/window-height 12) (set-variable 'fzf/window-height 12)
(set-variable 'fzf/args (set-variable 'fzf/args
(concat "--print-query "
(concat ;; "--print-query "
"--ansi " "--ansi "
"--color='bg+:-1' " "--color='bg+:-1' "
"--inline-info " "--inline-info "
"--cycle " "--cycle "
;; TODO: fix ;; TODO: fix
;; "--reverse "
"--reverse "
;; "--print0 "
(format "--prompt='[%s]> ' " (format "--prompt='[%s]> ' "
dir))) dir)))
(fzf/start dir) (fzf/start dir)


+ 2
- 0
profile View File

@@ -124,6 +124,8 @@ export PIP_USER=1


export PIPENV_VENV_IN_PROJECT=1 export PIPENV_VENV_IN_PROJECT=1
export PIPENV_MAX_DEPTH=10 # Defaults to 3 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 export STARDICT_DATA_DIR=$HOME/.brew/share/sdcv-dict-oxford




Loading…
Cancel
Save