-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinteractive_exports.bash
More file actions
29 lines (22 loc) · 887 Bytes
/
interactive_exports.bash
File metadata and controls
29 lines (22 loc) · 887 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#!/usr/bin/env bash
if [ -n "$__SOURCED_INTERACTIVE_EXPORTS" ]; then return; fi
# echo "running interactive_exports"
export __SOURCED_INTERACTIVE_EXPORTS=1
export DFT_OVERRIDE='*.mdxml:XML'
export DFT_OVERRIDE_1='pixi.lock:YAML'
# difftastic: don't show unchanged files
export DFT_SKIP_UNCHANGED=true
# https://askubuntu.com/a/866376
export EDITOR="emacsclient -t -a=\"\""
# https://twitter.com/hhulkko/status/114256631419772928
# http://darrendev.blogspot.com/2011/07/customize-less-less-annoying.html
export LESS="-FRX"
# export LESS_ADVANCED_PREPROCESSOR=1
# export LESSOPEN="|$(command -v lesspipe.sh) %s"
export MANWIDTH=78
export PYENV_VIRTUALENV_DISABLE_PROMPT=1
# disables prompt mangling in virtual_env/bin/activate
export VIRTUAL_ENV_DISABLE_PROMPT=1
if command -v virtualenvwrapper_lazy.sh > /dev/null 2>&1; then
source "$(command -v virtualenvwrapper_lazy.sh)"
fi