mirror of
https://github.com/iridakos/goto.git
synced 2025-05-18 00:10:13 -07:00
parent
21f4f2b060
commit
4f610a1ad7
@ -90,7 +90,11 @@ function _goto_expand_directory()
|
|||||||
function _goto_list_aliases()
|
function _goto_list_aliases()
|
||||||
{
|
{
|
||||||
local IFS=$'\n'
|
local IFS=$'\n'
|
||||||
echo "$(sed '/^\s*$/d' ~/.goto)"
|
if [ -f ~/.goto ]; then
|
||||||
|
echo "$(sed '/^\s*$/d' ~/.goto 2>/dev/null)"
|
||||||
|
else
|
||||||
|
echo "You haven't configured any directory aliases yet."
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
# Registers and alias.
|
# Registers and alias.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user