mirror of
https://github.com/iridakos/goto.git
synced 2025-05-16 15:30:22 -07:00
[MINOR] Fix indentation and comments
This commit is contained in:
parent
109f0eb62f
commit
51f8c88eba
@ -109,6 +109,7 @@ function _goto_list_aliases()
|
||||
fi
|
||||
}
|
||||
|
||||
# Lists duplicate directory aliases
|
||||
function _goto_find_duplicate()
|
||||
{
|
||||
local duplicates=
|
||||
@ -240,10 +241,11 @@ function _goto_warning()
|
||||
(>&2 echo -e "goto warning: $1")
|
||||
}
|
||||
|
||||
# Displays entries with aliases starting as the given one.
|
||||
function _goto_print_similar()
|
||||
{
|
||||
local similar
|
||||
|
||||
|
||||
similar=$(sed -n "/^$1[^ ]* .*/p" "$GOTO_DB" 2>/dev/null)
|
||||
if [ -n "$similar" ]; then
|
||||
(>&2 echo "Did you mean:")
|
||||
|
Loading…
x
Reference in New Issue
Block a user