Creating functions in Fish part 2

Creating functions in Fish part 2

set -l commits (git rev-list –left-right \$upstream…HEAD \^/dev/null; set os \$status) if test \$os -eq 0

There is no name scoping in Fish. So we prefix all method with the ‘class’/\‘scope.

comments powered by Disqus