From 0e9ddbb0bf0cd34500155ea4b03de2e2a38d8ab2 Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Mon, 16 Mar 2020 23:33:42 +0100 Subject: Well I'm using Arch again --- .oh-my-zsh/lib/compfix.zsh | 44 -------------------------------------------- 1 file changed, 44 deletions(-) delete mode 100644 .oh-my-zsh/lib/compfix.zsh (limited to '.oh-my-zsh/lib/compfix.zsh') diff --git a/.oh-my-zsh/lib/compfix.zsh b/.oh-my-zsh/lib/compfix.zsh deleted file mode 100644 index 68decc1..0000000 --- a/.oh-my-zsh/lib/compfix.zsh +++ /dev/null @@ -1,44 +0,0 @@ -# Handle completions insecurities (i.e., completion-dependent directories with -# insecure ownership or permissions) by: -# -# * Human-readably notifying the user of these insecurities. -function handle_completion_insecurities() { - # List of the absolute paths of all unique insecure directories, split on - # newline from compaudit()'s output resembling: - # - # There are insecure directories: - # /usr/share/zsh/site-functions - # /usr/share/zsh/5.0.6/functions - # /usr/share/zsh - # /usr/share/zsh/5.0.6 - # - # Since the ignorable first line is printed to stderr and thus not captured, - # stderr is squelched to prevent this output from leaking to the user. - local -aU insecure_dirs - insecure_dirs=( ${(f@):-"$(compaudit 2>/dev/null)"} ) - - # If no such directories exist, get us out of here. - (( ! ${#insecure_dirs} )) && return - - # List ownership and permissions of all insecure directories. - print "[oh-my-zsh] Insecure completion-dependent directories detected:" - ls -ld "${(@)insecure_dirs}" - - cat <