summaryrefslogtreecommitdiff
path: root/plugins/iterm2
diff options
context:
space:
mode:
authorvladislav doster <10052309+vladdoster@users.noreply.github.com>2024-03-26 03:55:16 -0500
committerGitHub <noreply@github.com>2024-03-26 09:55:16 +0100
commit1d09c6bb0a950756a65b02457842933e3aa493eb (patch)
treed3da2149911d18975d3ca88158971e4207328950 /plugins/iterm2
parenta168efe73e467c7164ef9b49dea61e9aefd27a48 (diff)
downloadzsh-1d09c6bb0a950756a65b02457842933e3aa493eb.tar.gz
zsh-1d09c6bb0a950756a65b02457842933e3aa493eb.tar.bz2
zsh-1d09c6bb0a950756a65b02457842933e3aa493eb.zip
style: remove trailing whitespace (#12303)
Diffstat (limited to 'plugins/iterm2')
-rw-r--r--plugins/iterm2/README.md2
-rw-r--r--plugins/iterm2/iterm2.plugin.zsh2
-rw-r--r--plugins/iterm2/iterm2_shell_integration.zsh4
3 files changed, 4 insertions, 4 deletions
diff --git a/plugins/iterm2/README.md b/plugins/iterm2/README.md
index 3d11622df..86bd77f1d 100644
--- a/plugins/iterm2/README.md
+++ b/plugins/iterm2/README.md
@@ -9,7 +9,7 @@ plugins=(... iterm2)
```
Optionally, the plugin also applies the [Shell Integration Script for iTerm2](https://iterm2.com/documentation-shell-integration.html).
-You can enable the integration with zstyle. It's important to add this line
+You can enable the integration with zstyle. It's important to add this line
before the line sourcing oh-my-zsh:
```
diff --git a/plugins/iterm2/iterm2.plugin.zsh b/plugins/iterm2/iterm2.plugin.zsh
index d00232a30..03a63a70c 100644
--- a/plugins/iterm2/iterm2.plugin.zsh
+++ b/plugins/iterm2/iterm2.plugin.zsh
@@ -8,7 +8,7 @@
if [[ "$OSTYPE" == darwin* ]] && [[ -n "$ITERM_SESSION_ID" ]] ; then
# maybe make it the default in the future and allow opting out?
- if zstyle -t ':omz:plugins:iterm2' shell-integration; then
+ if zstyle -t ':omz:plugins:iterm2' shell-integration; then
# Handle $0 according to the standard:
# https://zdharma-continuum.github.io/Zsh-100-Commits-Club/Zsh-Plugin-Standard.html
0="${${ZERO:-${0:#$ZSH_ARGZERO}}:-${(%):-%N}}"
diff --git a/plugins/iterm2/iterm2_shell_integration.zsh b/plugins/iterm2/iterm2_shell_integration.zsh
index 7871ddded..281332e0d 100644
--- a/plugins/iterm2/iterm2_shell_integration.zsh
+++ b/plugins/iterm2/iterm2_shell_integration.zsh
@@ -2,12 +2,12 @@
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
-#
+#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
-#
+#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.