←back to thread

217 points tanelpoder | 1 comments | | HN request time: 0.217s | source
Show context
SAI_Peregrinus ◴[] No.26493932[source]
In fish shell, with bob-the-fish theme[1] and powerline fonts, my prompt ends in ``. Gives a nice appearance, and definitely isn't a valid redirect.

Of course anyone who does manage to paste and execute code as root (or with sudo in the line) in a terminal without sanitizing it is careless, as long as their terminal doesn't have the stupid right-click-paste behavior. If it does, I agree with the author that it's just a bad terminal.

[1] https://github.com/oh-my-fish/theme-bobthefish

replies(2): >>26494089 #>>26494319 #
1. Symmetry ◴[] No.26494319[source]
I just tried clobbering with fish with a more default shell and it didn't happen.

  ~/r/pick (master)> ~/r/pick (master)> test
  No command 'master' found, did you mean:
  <snip>
 
  ~/r/pick (master)> cat test 
  Hello world