Update user-var-changed.md (#6368)
* Update user-var-changed.md By default base64 inserts a line break at some column which will truncate the user var. `-w 0` disables line wrapping * added a note instead of changing the base64 command
This commit is contained in:
1 parent
b6ec0b03d6
commit
cdfa86aebd
1 file changed
+5
@@ -13,6 +13,11 @@ printf "\033]1337;SetUserVar=%s=%s\007" foo `echo -n bar | base64`
|
||||
|
||||
to set the user var named `foo` to the value `bar`.
|
||||
|
||||
!!! note
|
||||
On some systems the `base64` command wraps the output by default after some
|
||||
amount of characters limiting the maximum length of the value. If this is
|
||||
the case an argument like `-w 0` might help to avoid wrapping.
|
||||
|
||||
Then, if you have this in your config:
|
||||
|
||||
```lua
|
||||
|
||||
Reference in new issue
Block a user