Make XMonad.Prompt.Pass traverse symlinks for its tab completion

This commit is contained in:
Ryan Trinkle
2019-08-07 12:48:10 -04:00
parent dd89eae446
commit 52a3800b96
2 changed files with 4 additions and 0 deletions

View File

@@ -56,6 +56,9 @@
pass-otp (https://github.com/tadfisher/pass-otp) has been setup in the running
machine.
Made password prompts traverse symlinks when gathering password names for
autocomplete.
* `XMonad.Actions.DynamicProjects`
Make the input directory read from the prompt in `DynamicProjects`

View File

@@ -198,6 +198,7 @@ escapeQuote = concatMap escape
getPasswords :: FilePath -> IO [String]
getPasswords passwordStoreDir = do
files <- runProcessWithInput "find" [
"-L", -- Traverse symlinks
passwordStoreDir,
"-type", "f",
"-name", "*.gpg",