Page MenuHomePhabricator

Port "arc prompts" from wilds and fix a path issue in shell completion
ClosedPublic

Authored by epriestley on Apr 11 2020, 5:40 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Feb 9, 8:53 AM
Unknown Object (File)
Sun, Feb 9, 8:53 AM
Unknown Object (File)
Sun, Feb 9, 8:53 AM
Unknown Object (File)
Tue, Jan 28, 5:35 AM
Unknown Object (File)
Sat, Jan 25, 6:58 AM
Unknown Object (File)
Sat, Jan 25, 6:58 AM
Unknown Object (File)
Sat, Jan 25, 6:58 AM
Unknown Object (File)
Tue, Jan 21, 3:41 PM
Subscribers
None

Details

Summary

Ref T13490. Bring "arc prompts" from "wilds" and hook it into the prompt in "arc shell-complete".

See D21069. Fix an issue where the shell hook tested for a path other than the path it writes to.

Test Plan

Ran "arc shell-complete" with no hook and got a prompt. Shell completed things. Ran "arc prompts shell-complete".

Diff Detail

Repository
rARC Arcanist
Lint
Lint Not Applicable
Unit
Tests Not Applicable