Skip to content

Instantly share code, notes, and snippets.

@geowarin
Created May 9, 2015 00:02
Show Gist options
  • Save geowarin/5d4f5a7ce433b949df1d to your computer and use it in GitHub Desktop.
Save geowarin/5d4f5a7ce433b949df1d to your computer and use it in GitHub Desktop.
Utility functions to see if binaries are found in path with fish shell
function are_installed
for cmd in $argv;
is_installed $cmd
end
end
function is_installed
return (which $argv > /dev/null)
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment