mirror of
https://github.com/dcarrillo/prezto.git
synced 2025-07-01 19:49:25 +00:00
Add comments into each of the function files to make them easier to find
This commit is contained in:
@ -5,6 +5,8 @@
|
||||
# Sorin Ionescu <sorin.ionescu@gmail.com>
|
||||
#
|
||||
|
||||
# function ruby-app-root {
|
||||
|
||||
local root_dir="$PWD"
|
||||
|
||||
while [[ "$root_dir" != '/' ]]; do
|
||||
@ -16,3 +18,5 @@ while [[ "$root_dir" != '/' ]]; do
|
||||
done
|
||||
|
||||
return 1
|
||||
|
||||
# }
|
||||
|
@ -6,6 +6,8 @@
|
||||
# Sorin Ionescu <sorin.ionescu@gmail.com>
|
||||
#
|
||||
|
||||
# function ruby-info {
|
||||
|
||||
local version
|
||||
local version_format
|
||||
local version_formatted
|
||||
@ -28,3 +30,5 @@ if [[ -n "$version" ]]; then
|
||||
zformat -f version_formatted "$version_format" "v:$version"
|
||||
ruby_info[version]="$version_formatted"
|
||||
fi
|
||||
|
||||
# }
|
||||
|
Reference in New Issue
Block a user