Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add contributing guidelines? #1005

Open
LoicRiegel opened this issue Mar 4, 2025 · 1 comment
Open

Add contributing guidelines? #1005

LoicRiegel opened this issue Mar 4, 2025 · 1 comment

Comments

@LoicRiegel
Copy link
Contributor

Hi, I think it would be very worth it to have contributing file, explaining how to get setup with the project for those who want to contribute

  • How to build?
  • How to run locally?
  • How to test against different shells / different OS / ...
  • PR checklist
  • ...
@lengyijun
Copy link

lengyijun commented Apr 10, 2025

Quite confused that some files changes after cargo install --path .

commit 63283fcdf10d7808410174f2aed0377a627a5941
Merge: fab50cfa7ccc 7eda1605caf2
Author: lengyijun <[email protected]>
Date:   Fri Apr 11 07:38:20 2025 +0800

    WIP on 1037: fab50cfa7ccc Add option: zoxide query -t : print last_accessed

diff --cc contrib/completions/_zoxide
index 55d12ee558d4,55d12ee558d4..9b61f54c969c
--- a/contrib/completions/_zoxide
+++ b/contrib/completions/_zoxide
@@@ -30,8 -30,8 +30,8 @@@ _zoxide() 
          case $line[1] in
              (add)
  _arguments "${_arguments_options[@]}" : \
--'-s+[The rank to increment the entry if it exists or initialize it with if it doesn'\''t]:SCORE: ' \
--'--score=[The rank to increment the entry if it exists or initialize it with if it doesn'\''t]:SCORE: ' \
++'-s+[The rank to increment the entry if it exists or initialize it with if it doesn'\''t]:SCORE:_default' \
++'--score=[The rank to increment the entry if it exists or initialize it with if it doesn'\''t]:SCORE:_default' \
  '-h[Print help]' \
  '--help[Print help]' \
  '-V[Print version]' \
@@@ -61,7 -61,7 +61,7 @@@ _arguments "${_arguments_options[@]}" 
  '--help[Print help]' \
  '-V[Print version]' \
  '--version[Print version]' \
--':path:' \
++':path:_default' \
  && ret=0
  ;;
  (delete)
@@@ -70,7 -70,7 +70,7 @@@ _arguments "${_arguments_options[@]}" 
  '--help[Print help]' \
  '-V[Print version]' \
  '--version[Print version]' \
--':path:' \
++':path:_default' \
  && ret=0
  ;;
  (increment)
@@@ -79,7 -79,7 +79,7 @@@ _arguments "${_arguments_options[@]}" 
  '--help[Print help]' \
  '-V[Print version]' \
  '--version[Print version]' \
--':path:' \
++':path:_default' \
  && ret=0
  ;;
  (reload)
@@@ -107,7 -107,7 +107,7 @@@ _arguments "${_arguments_options[@]}" 
  ;;
  (init)
  _arguments "${_arguments_options[@]}" : \
--'--cmd=[Changes the prefix of the \`z\` and \`zi\` commands]:CMD: ' \
++'--cmd=[Changes the prefix of the \`z\` and \`zi\` commands]:CMD:_default' \
  '--hook=[Changes how often zoxide increments a directory'\''s score]:HOOK:(none prompt pwd)' \
  '--no-cmd[Prevents zoxide from defining the \`z\` and \`zi\` commands]' \
  '-h[Print help]' \
@@@ -134,7 -134,7 +134,7 @@@ _arguments "${_arguments_options[@]}" 
  '--help[Print help]' \
  '-V[Print version]' \
  '--version[Print version]' \
--'*::keywords:' \
++'*::keywords:_default' \
  && ret=0
  ;;
  (remove)
diff --cc contrib/completions/zoxide.fish
index 940ff2f24acf,940ff2f24acf..b2c34f79ab56
--- a/contrib/completions/zoxide.fish
+++ b/contrib/completions/zoxide.fish
@@@ -49,12 -49,12 +49,15 @@@ complete -c zoxide -n "__fish_zoxide_us
  complete -c zoxide -n "__fish_zoxide_using_subcommand edit; and __fish_seen_subcommand_from increment" -s V -l version -d 'Print version'
  complete -c zoxide -n "__fish_zoxide_using_subcommand edit; and __fish_seen_subcommand_from reload" -s h -l help -d 'Print help'
  complete -c zoxide -n "__fish_zoxide_using_subcommand edit; and __fish_seen_subcommand_from reload" -s V -l version -d 'Print version'
--complete -c zoxide -n "__fish_zoxide_using_subcommand import" -l from -d 'Application to import from' -r -f -a "{autojump\t'',z\t''}"
++complete -c zoxide -n "__fish_zoxide_using_subcommand import" -l from -d 'Application to import from' -r -f -a "autojump\t''
++z\t''"
  complete -c zoxide -n "__fish_zoxide_using_subcommand import" -l merge -d 'Merge into existing database'
  complete -c zoxide -n "__fish_zoxide_using_subcommand import" -s h -l help -d 'Print help'
  complete -c zoxide -n "__fish_zoxide_using_subcommand import" -s V -l version -d 'Print version'
  complete -c zoxide -n "__fish_zoxide_using_subcommand init" -l cmd -d 'Changes the prefix of the `z` and `zi` commands' -r
--complete -c zoxide -n "__fish_zoxide_using_subcommand init" -l hook -d 'Changes how often zoxide increments a directory\'s score' -r -f -a "{none\t'',prompt\t'',pwd\t''}"
++complete -c zoxide -n "__fish_zoxide_using_subcommand init" -l hook -d 'Changes how often zoxide increments a directory\'s score' -r -f -a "none\t''
++prompt\t''
++pwd\t''"
  complete -c zoxide -n "__fish_zoxide_using_subcommand init" -l no-cmd -d 'Prevents zoxide from defining the `z` and `zi` commands'
  complete -c zoxide -n "__fish_zoxide_using_subcommand init" -s h -l help -d 'Print help'
  complete -c zoxide -n "__fish_zoxide_using_subcommand init" -s V -l version -d 'Print version'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants