Fix typo in chflags completion
Reported by: adamw
This commit is contained in:
parent
e4f1c050da
commit
d464887e15
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=428847
@ -3,6 +3,7 @@
|
||||
|
||||
PORTNAME= zsh
|
||||
DISTVERSION= 5.3
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= shells
|
||||
MASTER_SITES= http://www.zsh.org/pub/ \
|
||||
SF \
|
||||
|
11
shells/zsh/files/patch-Completion_BSD_Command___chflags
Normal file
11
shells/zsh/files/patch-Completion_BSD_Command___chflags
Normal file
@ -0,0 +1,11 @@
|
||||
--- Completion/BSD/Command/_chflags.orig 2016-09-14 19:06:59 UTC
|
||||
+++ Completion/BSD/Command/_chflags
|
||||
@@ -35,7 +35,7 @@ if [[ $OSTYPE = (darwin|dragonfly|freebs
|
||||
fi
|
||||
|
||||
if [[ $OSTYPE = (dragonfly|freebsd)* ]]; then
|
||||
- addlfags uunlnk 'user undeletable'
|
||||
+ addflags uunlnk 'user undeletable'
|
||||
(( EUID )) || addflags sunlnk 'system undeletable'
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user