Add zwsp to prompt to make stripping easier
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
127c9caba3
commit
d36e21b2f6
2 changed files with 7 additions and 0 deletions
|
@ -58,6 +58,10 @@ blocks:
|
||||||
always_enabled: false
|
always_enabled: false
|
||||||
template: '{{ if gt .Code 0 }}{{ .Code }}{{ else }}{{ end }}'
|
template: '{{ if gt .Code 0 }}{{ .Code }}{{ else }}{{ end }}'
|
||||||
|
|
||||||
|
- type: text
|
||||||
|
style: plain
|
||||||
|
template: "\u200b"
|
||||||
|
|
||||||
- type: prompt
|
- type: prompt
|
||||||
alignment: right
|
alignment: right
|
||||||
overflow: hide
|
overflow: hide
|
||||||
|
|
3
bin/strip-paste-buffer
Executable file
3
bin/strip-paste-buffer
Executable file
|
@ -0,0 +1,3 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
xclip -selection c -o | sed "s/$(printf '\u200b').*//" | xclip -selection c -i
|
Loading…
Reference in a new issue