From 03976ee7d4f15f5997ec9839fa2196e92ac161b1 Mon Sep 17 00:00:00 2001 From: jpk68 Date: Sat, 30 May 2026 22:20:36 -0400 Subject: [PATCH] utils/fish: add missing directory completions --- utils/fish/monero-wallet-cli.fish | 2 +- utils/fish/monero-wallet-rpc.fish | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/utils/fish/monero-wallet-cli.fish b/utils/fish/monero-wallet-cli.fish index b5aaef7d0..2e950404d 100644 --- a/utils/fish/monero-wallet-cli.fish +++ b/utils/fish/monero-wallet-cli.fish @@ -20,7 +20,7 @@ complete -c monero-wallet-cli -l daemon-ssl-allow-any-cert -d "Allow any SSL cer complete -c monero-wallet-cli -l daemon-ssl-allow-chained -d "Allow user (via --daemon-ssl-ca-certifi cates) chain certificates" complete -c monero-wallet-cli -l testnet -d "For testnet. Daemon must also be launched with --testnet flag" complete -c monero-wallet-cli -l stagenet -d "For stagenet. Daemon must also be launched with --stagenet flag" -complete -c monero-wallet-cli -l shared-ringdb-dir -r -F -d "Set shared ring database path" +complete -c monero-wallet-cli -l shared-ringdb-dir -r -a "(__fish_complete_directories)" -d "Set shared ring database path" complete -c monero-wallet-cli -l kdf-rounds -r -d "Number of rounds for the key derivation function. Default: 1" complete -c monero-wallet-cli -l bitmessage-address -r -d "Use PyBitmessage instance at URL . Default: http://localhost:8442/" complete -c monero-wallet-cli -l bitmessage-login -r -d "Specify as username:password for PyBitmessage API. Default: username:password" diff --git a/utils/fish/monero-wallet-rpc.fish b/utils/fish/monero-wallet-rpc.fish index b73c3e6fa..c88fbff9c 100644 --- a/utils/fish/monero-wallet-rpc.fish +++ b/utils/fish/monero-wallet-rpc.fish @@ -20,7 +20,7 @@ complete -c monero-wallet-rpc -l daemon-ssl-allow-any-cert -d "Allow any SSL cer complete -c monero-wallet-rpc -l daemon-ssl-allow-chained -d "Allow user (via --daemon-ssl-ca-certifi cates) chain certificates" complete -c monero-wallet-rpc -l testnet -d "For testnet. Daemon must also be launched with --testnet flag" complete -c monero-wallet-rpc -l stagenet -d "For stagenet. Daemon must also be launched with --stagenet flag" -complete -c monero-wallet-rpc -l shared-ringdb-dir -r -F -d "Set shared ring database path" +complete -c monero-wallet-rpc -l shared-ringdb-dir -r -a "(__fish_complete_directories)" -d "Set shared ring database path" complete -c monero-wallet-rpc -l kdf-rounds -r -d "Number of rounds for the key derivation function. Default: 1" complete -c monero-wallet-rpc -l bitmessage-address -r -d "Use PyBitmessage instance at URL . Default: http://localhost:8442/" complete -c monero-wallet-rpc -l bitmessage-login -r -d "Specify as username:password for PyBitmessage API. Default: username:password" @@ -52,7 +52,7 @@ complete -c monero-wallet-rpc -l rpc-ssl-allow-chained -d "Allow user (via --rpc complete -c monero-wallet-rpc -l disable-rpc-ban -d "Do not ban hosts on RPC errors" complete -c monero-wallet-rpc -l wallet-file -r -F -d "Use wallet " complete -c monero-wallet-rpc -l generate-from-json -r -k -a "(__fish_complete_suffix .json)" -d "Generate wallet from JSON format file" -complete -c monero-wallet-rpc -l wallet-dir -r -F -d "Directory for newly created wallets" +complete -c monero-wallet-rpc -l wallet-dir -r -a "(__fish_complete_directories)" -d "Directory for newly created wallets" complete -c monero-wallet-rpc -l prompt-for-password -d "Prompts for password when not provided" complete -c monero-wallet-rpc -l detach -d "Run as daemon" complete -c monero-wallet-rpc -l pidfile -r -F -d "File path to write the daemon's PID to (optional, requires --detach)"