oh-my-zsh/tools
Henrik Holm f46d06dae1 Correct redirection of output from 'hash'
The intention of the redirection to /dev/null is to hide the output
'hash: no such command: git' since we rely on the exit status.

However, the output goes to stderr, so it's stderr that needs to be
redirected. For completeness, we redirect both stderr and stdout using
'2>&1'.

Example:

  [~]$ hash git > /dev/null
  [~]$ PATH=''
  [~]$ hash git > /dev/null
  hash: no such command: git
  [~]$ hash git > /dev/null 2>&1
  [~]$
2014-03-30 10:34:13 -04:00
..
check_for_upgrade.sh Revert "Cancel update if the current user doesn't have write permissions for the oh-my-zsh directory." 2013-12-18 17:03:33 -08:00
install.sh Correct redirection of output from 'hash' 2014-03-30 10:34:13 -04:00
require_tool.sh Fix version parsing. Now working with command $ zsh --version 2011-04-13 17:24:44 +02:00
theme_chooser.sh Display right prompt in theme chooser 2013-09-10 11:28:31 +02:00
uninstall.sh Fixing conflict in install scripts 2012-12-02 13:08:06 -08:00
upgrade.sh Add update statistics 2013-11-22 02:34:33 +03:00