old_contents: 
  def add_nvm_segment():
      import os
      import subprocess
  
      try:
          output = subprocess.check_output(['bash', '-c', '. ~/.nvm/nvm.sh; nvm current'])
      except (OSError, subprocess.CalledProcessError):
          return
  
      version = output.rstrip()
      if version in ('system', 'none'):
          return
  
      shline.append(' node: %s ' % version, Color.NVM_FG, Color.NVM_BG)
  
  add_nvm_segment()
  
new_contents: 
  def add_nvm_segment():
      import os
      import subprocess
  
      try:
          output = subprocess.check_output(['bash', '-c', '. ~/.nvm/nvm.sh; nvm current'])
      except (OSError, subprocess.CalledProcessError):
          return
  
      version = output.rstrip()
      if version in ('system', 'none'):
          return
  
      shline.append(u' \u2B22 %s ' % version, Color.NVM_FG, Color.NVM_BG)
  
  add_nvm_segment()
  
subject: Use an hexagon to represent the Node version