4 ms·
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
by SAI_Peregrinus 6y ago
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 https://github.com/oh-my-fish/theme-bobthefish
- rcoveson 6y agoI wonder if anybody has modified their browser fonts with the powerline characters and can actually see the character you've written here. If those people are anywhere it'd be here. :)
- jessaustin 6y agoIt's a box in my browser, but when I echoed it on the command line it looked more like ▶
- sundarurfriend 6y agoWeirdly, my Firefox displays it in the page as the Unicode box (E0B0), but if I right click and "Inspect Element", it shows the arrow character as it should be, as part of the span tag's content text.
- Symmetry 6y agoI 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