mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-01 04:41:14 -03:00
The main changes are: - disabling some checks related to POSIX file permissions when a filesystem is mounted with "noacl" (default on MSYS2) - disabling some checks related to symlinks when using fake ones (file copy) Windows with acl hasn't been tested because 1) Cygwin itself does not have any Rust package yet to compile fish, and 2) MSYS2 defaults to `noacl` Part of #12171
9 lines
253 B
Fish
9 lines
253 B
Fish
function cygwin_noacl --description \
|
|
"Return 0 if a path does not support POSIX file permissions on Cygwin/MSYS,
|
|
return 1 otherwise"
|
|
|
|
set -q argv[1] || { echo "cygwin_noacl: missing path" >&2; exit 2 }
|
|
|
|
__fish_cygwin_noacl $argv[1]
|
|
end
|