mirror of
https://github.com/iridakos/goto.git
synced 2025-05-17 16:00:17 -07:00
parent
21f4f2b060
commit
4f610a1ad7
@ -90,7 +90,11 @@ function _goto_expand_directory()
|
||||
function _goto_list_aliases()
|
||||
{
|
||||
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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user