3 ms·
Nit: > Here is the same command written as a one-liner Maybe don't include the "\n" in the triple-click selection so that one can inspect it before hitting en
by dheera 3y ago
Nit:
> Here is the same command written as a one-liner
Maybe don't include the "\n" in the triple-click selection so that one can inspect it before hitting enter. Currently it copies the "\n" to the clipboard and then when you paste in the terminal it directly executes.
- Jach 3y agoDid they fix it? Triple clicking and pasting doesn't lead to immediate execution for me. But even better is to just put such commands in .bashrc as functions. e.g. curltime() { curl -L -w "time_namelookup: %{time_namelookup}\ntime_connect: %{time_connect}\ntime_appconnect: %{time_appconnect}\ntime_pretransfer: %{time_pretransfer}\ntime_redirect: %{time_redirect}\ntime_starttransfer: %{time_starttransfer}\ntime_total: %{time_total}\n" "$1" }