mirror of
https://github.com/dcarrillo/prezto.git
synced 2025-07-01 17:29:26 +00:00
Only one newline at end of file
This commit is contained in:
@ -45,4 +45,3 @@ case "$state" in
|
||||
esac
|
||||
|
||||
return $ret
|
||||
|
||||
|
@ -9,4 +9,3 @@
|
||||
#
|
||||
|
||||
_arguments '1:url:' && return 0
|
||||
|
||||
|
@ -16,4 +16,3 @@ _arguments "1:toggle:((
|
||||
on\:'enable in-prompt information for the current repository'
|
||||
off\:'disable in-prompt information for the current repository'
|
||||
))" && return 0
|
||||
|
||||
|
@ -38,4 +38,3 @@ case "$state" in
|
||||
esac
|
||||
|
||||
return $ret
|
||||
|
||||
|
@ -24,4 +24,3 @@ done < <(
|
||||
)
|
||||
|
||||
_describe -t submodule 'submodules' submodules && return 0
|
||||
|
||||
|
@ -18,4 +18,3 @@ if [[ -n "$ref" ]]; then
|
||||
else
|
||||
return 1
|
||||
fi
|
||||
|
||||
|
@ -18,4 +18,3 @@ git fsck 2> /dev/null \
|
||||
--no-walk \
|
||||
--stdin \
|
||||
--pretty=format:${_git_log_oneline_format}
|
||||
|
||||
|
@ -14,4 +14,3 @@ else
|
||||
print "$0: not a repository: $PWD" >&2
|
||||
return 1
|
||||
fi
|
||||
|
||||
|
@ -56,4 +56,3 @@ else
|
||||
print "$0: not a Git repository or remote not set" >&2
|
||||
return 1
|
||||
fi
|
||||
|
||||
|
@ -20,4 +20,3 @@ if (( $+commands[curl] )); then
|
||||
else
|
||||
print "$0: command not found: curl" >&2
|
||||
fi
|
||||
|
||||
|
@ -421,4 +421,3 @@ function git-info {
|
||||
}
|
||||
|
||||
git-info "$@"
|
||||
|
||||
|
@ -14,4 +14,3 @@ else
|
||||
print "$0: not a repository work tree: $PWD" >&2
|
||||
return 1
|
||||
fi
|
||||
|
||||
|
@ -20,4 +20,3 @@ if [[ -f "$(git-dir)/refs/stash" ]]; then
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
||||
|
@ -20,4 +20,3 @@ git fsck --unreachable 2> /dev/null \
|
||||
--merges \
|
||||
--no-walk \
|
||||
--stdin
|
||||
|
||||
|
@ -16,4 +16,3 @@ for commit in "$@"; do
|
||||
git update-ref \
|
||||
-m "$(git log -1 --pretty="format:%s" "$commit")" refs/stash "$commit"
|
||||
done
|
||||
|
||||
|
@ -30,4 +30,3 @@ git-submodule-remove "$src"
|
||||
git submodule add "$url" "$dst"
|
||||
|
||||
return 0
|
||||
|
||||
|
@ -25,4 +25,3 @@ rm -rf "${1}"
|
||||
rm -rf "$(git-dir)/modules/${1}"
|
||||
|
||||
return 0
|
||||
|
||||
|
Reference in New Issue
Block a user