[zsh] Update shell init: rc
This commit is contained in:
parent
b09d523218
commit
c30b46a88b
26 changed files with 479 additions and 462 deletions
10
zsh/func/binary_exists
Normal file
10
zsh/func/binary_exists
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
# .zshrc
|
||||
# vim:ft=zsh:
|
||||
# Eryn Wells <eryn@erynwells.me>
|
||||
|
||||
function binary_exists
|
||||
{
|
||||
return $(hash $1 1>/dev/null 2>&1)
|
||||
}
|
||||
|
||||
binary_exists "$@"
|
||||
Loading…
Add table
Add a link
Reference in a new issue