Browse Source

atom: remove hack to delete exported bash funcs

Kyle P Davis 8 năm trước cách đây
mục cha
commit
b36f9e7afc
1 tập tin đã thay đổi với 0 bổ sung2 xóa
  1. 0 2
      atom/init.coffee

+ 0 - 2
atom/init.coffee

@@ -14,7 +14,5 @@ process.env.PATH += ':' + process.env.HOME + '/homebrew/bin/'
 process.env.PATH += ':/usr/local/bin'
 process.env.GOPATH = process.env.HOME + '/go'
 
-# Remove problematic environment variables that interfere with sub-shells
-delete process.env[k] for k of process.env when k.startsWith('BASH_FUNC_')
 # Ensure LANG is set for subprocesses
 process.env.LANG = 'en_US.UTF-8' unless process.env.LANG