mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-08-19 02:56:37 +02:00
style: remove trailing whitespace (#12303)
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user