aboutsummarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelipe Morales2017-11-21 09:59:52 +0100
committerFelipe Morales2017-11-21 09:59:52 +0100
commit72b4c25847cf46a969883d3139d399f735b9878d (patch)
tree76513101ce8d3a3f855d174723609967d4374d5e
parent5062af43f3fe633493199767123a4554dd725848 (diff)
downloadaur-72b4c25847cf46a969883d3139d399f735b9878d.tar.gz
env variables are not necessary anymore
-rwxr-xr-xnvim-wrapper8
1 files changed, 1 insertions, 7 deletions
diff --git a/nvim-wrapper b/nvim-wrapper
index 753f01d54903..3523813f893a 100755
--- a/nvim-wrapper
+++ b/nvim-wrapper
@@ -92,16 +92,10 @@ def main():
if session_bus.name_has_owner(APP_ID):
options = processArgv()
cmd = [] + TERM_CMD[:-2] + options['gterm'] + TERM_CMD[-2:] + options['nvim']
- env = os.environ.copy()
- if 'NVIM_TUI_ENABLE_CURSOR_SHAPE' not in env:
- env['NVIM_TUI_ENABLE_CURSOR_SHAPE'] = '1'
- if 'NVIM_TUI_ENABLE_TRUE_COLOR' not in env:
- env['NVIM_TUI_ENABLE_TRUE_COLOR'] = '1'
with open(os.devnull, 'wb') as fnull:
subprocess.Popen(cmd,
stdout=fnull,
- stderr=fnull,
- env=env)
+ stderr=fnull)
if __name__ == '__main__':
main()