From: Ahmad Ismail <ismail783@gmail.com>
To: Zsh Users <zsh-users@zsh.org>
Subject: How to override builtin Completion file?
Date: Mon, 18 Jul 2022 18:50:39 +0600 [thread overview]
Message-ID: <CAHAhJwJag7C34=X11g5T1j3-++s8duFXaQPUBb195+Lby1v2zA@mail.gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 641 bytes --]
I have made some modifications in _stow completion file.
I want to override /usr/share/zsh/functions/Completion/Unix/_stow with
$HOME/.dotfiles/.resources/zsh-dotfiles/zsh-custom-completions/_stow
I have put the following on my .zshrc
fpath=($HOME/.dotfiles/.resources/zsh-dotfiles/zsh-custom-completions
$fpath)
print -rl -- $fpath output shows that the path is added.
Still it is calling the builtin completion file instead of the new
completion file.
What can I do?
*P.S.*
In case someone is interested, I have replaced (line 10)
local -a stow_pkg_list=( $stow_dir/*(-/N:t) )
with
local -a stow_pkg_list=( $stow_dir/.*(-/N:t) )
[-- Attachment #2: Type: text/html, Size: 834 bytes --]
next reply other threads:[~2022-07-18 12:55 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-07-18 12:50 Ahmad Ismail [this message]
2022-07-18 16:18 ` Bart Schaefer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAHAhJwJag7C34=X11g5T1j3-++s8duFXaQPUBb195+Lby1v2zA@mail.gmail.com' \
--to=ismail783@gmail.com \
--cc=zsh-users@zsh.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).