mac zsh auto compl
Last login: Sat Jun 15 22:39:54 on ttys013 zsh compinit: insecure directories, run compaudit for list. Ignore insecure directories and continue [y] or abort compinit [n]? y%
~
❯ compaudit 22:41
There are insecure directories:
/opt/homebrew/share
/opt/homebrew/share
❯ ls -al 22:43
total 0
drwxrwxr-x 28 hitto admin 896 6 15 22:39 .
drwxr-xr-x 33 hitto admin 1056 6 15 22:33 ..
lrwxr-xr-x 1 hitto admin 32 5 21 23:59 X11 -> ../Cellar/libx11/1.8.9/share/X11
drwxr-xr-x 23 hitto admin 736 6 15 22:33 aclocal
lrwxr-xr-x 1 hitto admin 43 6 15 22:33 bash-completion -> ../Cellar/glib/2.80.3/share/bash-completion
lrwxr-xr-x 1 hitto admin 58 5 21 22:05 ca-certificates -> ../Cellar/ca-certificates/2024-03-11/share/ca-certificates
lrwxr-xr-x 1 hitto admin 45 5 27 13:57 common-lisp -> ../Cellar/libgpg-error/1.49/share/common-lisp
drwxr-xr-x 30 hitto admin 960 6 10 14:44 doc
drwxr-xr-x 3 hitto admin 96 5 21 22:00 fish
lrwxr-xr-x 1 hitto admin 44 5 21 23:59 fontconfig -> ../Cellar/fontconfig/2.15.0/share/fontconfig
lrwxr-xr-x 1 hitto admin 35 6 10 14:44 gcc-14 -> ../Cellar/gcc/14.1.0_1/share/gcc-14
drwxr-xr-x 3 hitto admin 96 6 10 14:44 gdb
drwxr-xr-x 12 hitto admin 384 5 21 23:59 gettext
lrwxr-xr-x 1 hitto admin 45 5 21 22:05 gettext-0.22.5 -> ../Cellar/gettext/0.22.5/share/gettext-0.22.5
drwxr-xr-x 10 hitto admin 320 6 15 22:33 gir-1.0
lrwxr-xr-x 1 hitto admin 36 6 15 22:33 glib-2.0 -> ../Cellar/glib/2.80.3/share/glib-2.0
lrwxr-xr-x 1 hitto admin 33 5 27 13:57 gnupg -> ../Cellar/gnupg/2.4.5/share/gnupg
lrwxr-xr-x 1 hitto admin 42 5 21 23:59 graphite2 -> ../Cellar/graphite2/1.3.14/share/graphite2
lrwxr-xr-x 1 hitto admin 37 5 21 22:05 gtk-doc -> ../Cellar/libidn2/2.3.7/share/gtk-doc
drwxr-xr-x 46 hitto admin 1472 6 10 14:44 info
lrwxr-xr-x 1 hitto admin 46 5 27 13:57 libgpg-error -> ../Cellar/libgpg-error/1.49/share/libgpg-error
lrwxr-xr-x 1 hitto admin 36 5 27 13:57 libusb -> ../Cellar/libusb/1.0.27/share/libusb
drwxr-xr-x 105 hitto admin 3360 6 15 22:33 locale
drwxr-xr-x 8 hitto admin 256 5 27 13:56 man
lrwxr-xr-x 1 hitto admin 42 5 21 23:59 pkgconfig -> ../Cellar/xorgproto/2024.1/share/pkgconfig
lrwxr-xr-x 1 hitto admin 37 5 21 23:59 xml -> ../Cellar/fontconfig/2.15.0/share/xml
drwxr-xr-x 3 hitto admin 96 5 21 21:57 zsh
drwxr-xr-x 149 hitto admin 4768 6 15 22:39 zsh-completions
/opt/homebrew/share
❯ chmod 755 ../share 22:43
← Go home