From c1f1bbc5b9c128944b82afed25140ee62ccf522a Mon Sep 17 00:00:00 2001 From: Norbert Lange Date: Tue, 24 May 2022 22:26:29 +0200 Subject: github #93: Replace /etc/mtab with /proc/self/mounts for Linux /proc/self/mounts has been available since Linux 2.4.19, released in 2002. /etc/mtab is usually a symlink to this file but might not exist --- Completion/Linux/Command/_btrfs | 2 +- Completion/Linux/Command/_fusermount | 2 +- Completion/Unix/Type/_umountable | 7 ++++++- 3 files changed, 8 insertions(+), 3 deletions(-) (limited to 'Completion') diff --git a/Completion/Linux/Command/_btrfs b/Completion/Linux/Command/_btrfs index 65cf067aa..1d87fd83a 100644 --- a/Completion/Linux/Command/_btrfs +++ b/Completion/Linux/Command/_btrfs @@ -424,7 +424,7 @@ while (( $#state )); do ;; mounts) _wanted mount-points expl 'mount point' compadd \ - ${${${(M)${(f)"$(