1
0
mirror of https://github.com/dcarrillo/prezto.git synced 2025-07-01 03:29:26 +00:00

Add comments into each of the function files to make them easier to find

This commit is contained in:
Kaleb Elwert
2017-07-06 16:01:26 -07:00
parent a70bce3ea6
commit 7d5beeab51
36 changed files with 144 additions and 0 deletions

View File

@ -5,6 +5,8 @@
# Sorin Ionescu <sorin.ionescu@gmail.com>
#
# function node-doc {
if [[ -z "$BROWSER" ]]; then
print "$0: no web browser defined" >&2
return 1
@ -12,3 +14,5 @@ fi
# TODO: Make the sections easier to use.
"$BROWSER" "http://nodejs.org/docs/$(node --version | sed 's/-.*//')/api/all.html#${1}"
# }

View File

@ -6,6 +6,8 @@
# Zeh Rizzatti <zehrizzatti@gmail.com>
#
# function node-info {
local version
local version_format
local version_formatted
@ -24,3 +26,5 @@ if [[ "$version" != (none|) ]]; then
zformat -f version_formatted "$version_format" "v:$version"
node_info[version]="$version_formatted"
fi
# }