punkfairie
60cb5740d7
Add .config/fish/functions/__ysu__check_aliases.fish Add .config/fish/functions/__ysu__check_git_aliases.fish Add .config/fish/functions/__ysu__check_hardcore.fish Add .config/fish/functions/__ysu__flush_buffer.fish Add .config/fish/functions/__ysu__get_field.fish Add .config/fish/functions/__ysu__message.fish Add .config/fish/functions/__ysu__set_default.fish Add .config/fish/functions/__ysu__set_field.fish Add .config/fish/functions/__ysu__write_buffer.fish
7 lines
299 B
Fish
7 lines
299 B
Fish
function __ysu__message \
|
||
--argument-names alias_type command alias
|
||
# zero-width space delinates the end of a variable and the beginning of the message
|
||
__ysu__write_buffer "\
|
||
$BOLD$YELLOWFound existing $alias_type for \"$VIOLET$command$YELLOW\".
|
||
You should use: \"$alias\"\n"
|
||
end
|