summaryrefslogtreecommitdiff
path: root/plugins/gnu-utils
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/gnu-utils
parenta168efe73e467c7164ef9b49dea61e9aefd27a48 (diff)
downloadzsh-1d09c6bb0a950756a65b02457842933e3aa493eb.tar.gz
zsh-1d09c6bb0a950756a65b02457842933e3aa493eb.tar.bz2
zsh-1d09c6bb0a950756a65b02457842933e3aa493eb.zip
style: remove trailing whitespace (#12303)
Diffstat (limited to 'plugins/gnu-utils')
-rw-r--r--plugins/gnu-utils/gnu-utils.plugin.zsh4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/gnu-utils/gnu-utils.plugin.zsh b/plugins/gnu-utils/gnu-utils.plugin.zsh
index 6023bf2b4..adc2bd3bb 100644
--- a/plugins/gnu-utils/gnu-utils.plugin.zsh
+++ b/plugins/gnu-utils/gnu-utils.plugin.zsh
@@ -14,7 +14,7 @@ __gnu_utils() {
local -a gcmds
local gcmd
- # coreutils
+ # coreutils
gcmds=('g[' 'gbase64' 'gbasename' 'gcat' 'gchcon' 'gchgrp' 'gchmod'
'gchown' 'gchroot' 'gcksum' 'gcomm' 'gcp' 'gcsplit' 'gcut' 'gdate'
'gdd' 'gdf' 'gdir' 'gdircolors' 'gdirname' 'gdu' 'gecho' 'genv' 'gexpand'
@@ -41,7 +41,7 @@ __gnu_utils() {
for gcmd in "${gcmds[@]}"; do
# Do nothing if the command isn't found
(( ${+commands[$gcmd]} )) || continue
-
+
# This method allows for builtin commands to be primary but it's
# lost if hash -r or rehash is executed, or if $PATH is updated.
# Thus, a preexec hook is needed, which will only run if whoami