Changed _alias to alias_no_errors

This commit is contained in:
Nathan Broadbent
2012-08-21 12:28:15 +12:00
parent 97b71f47e3
commit dba367d7f1
3 changed files with 12 additions and 12 deletions

View File

@@ -10,7 +10,7 @@ enable_nullglob() { if [ $shell = "zsh" ]; then setopt NULL_GLOB; else shopt
disable_nullglob() { if [ $shell = "zsh" ]; then unsetopt NULL_GLOB; else shopt -u nullglob; fi; }
# Alias wrapper that ignores errors if alias is not defined.
_alias(){ alias "$@" 2> /dev/null; }
alias_no_errors(){ alias "$@" 2> /dev/null; }
# Updates SCM Breeze from GitHub.