- Save mysql_table_result_to_tsv file everywhere which is included $PATH.
- Run
chmod 755 /path/to/as/you/like/mysql_table_result_to_tsv
- (optional) Run
echo 'alias tsvlize="pbpaste | mysql_table_result_to_tsv | pbcopy"' >> $HOME/.zshrc
Copy your mysql result into clipboard.
For example, copy your mysql result table on your iterm2 screen.