pub fn shell_quote<V: Display>(value: V) -> String
Quote a value for safe shell insertion.
use git_status_vars::shell_quote; assert_eq!(shell_quote("a $b `c`\nd"), "'a $b `c`\nd'");