diff options
author | Tuowen Zhao <ztuowen@gmail.com> | 2021-03-16 14:46:40 -0600 |
---|---|---|
committer | Tuowen Zhao <ztuowen@gmail.com> | 2021-03-16 14:46:40 -0600 |
commit | 0a67be1024b1e54b6af59f01b01ceace9fdf7bb2 (patch) | |
tree | 2e989a1c283cc942312222d1afecd28640c5315b /plugins/emotty | |
parent | 0f2bface6494ae546ea83cbf45b65a18dbc0c4fb (diff) | |
parent | 95a06f3927a286db257dc99791b02caba757fe33 (diff) | |
download | zsh-0a67be1024b1e54b6af59f01b01ceace9fdf7bb2.tar.gz zsh-0a67be1024b1e54b6af59f01b01ceace9fdf7bb2.tar.bz2 zsh-0a67be1024b1e54b6af59f01b01ceace9fdf7bb2.zip |
Merge remote-tracking branch 'origin/master'
Diffstat (limited to 'plugins/emotty')
-rw-r--r-- | plugins/emotty/emotty.plugin.zsh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/emotty/emotty.plugin.zsh b/plugins/emotty/emotty.plugin.zsh index e288b5cfb..4511275d6 100644 --- a/plugins/emotty/emotty.plugin.zsh +++ b/plugins/emotty/emotty.plugin.zsh @@ -29,7 +29,7 @@ function emotty() { # Parse tty number via prompt expansion. %l equals: # - N if tty = /dev/ttyN # - pts/N if tty = /dev/pts/N - local tty = ${${(%):-%l}##pts/} + local tty=${${(%):-%l}##pts/} # Normalize it to an emotty set index (( tty = (tty % ${#${=emotty}}) + 1 )) |