summary refs log tree commit diff
path: root/home/.local/bin/git-password
blob: 41351e38b05f59021a3e4c7e907d1df13ac6a062 (plain) (blame)
1
2
3
4
5
6
7
#!/bin/sh
set -eu

url=$1
echo "url=${url}" \
	| git credential fill \
	| sed -En 's/^password=(.*)/\1/p'
gJune McEnroe 2022-06-02Clean up parsing a littleJune McEnroe 2022-06-02Don't duplicate path stringJune McEnroe 2022-06-02Use stderr instead of /dev/tty, realloc buffer if lines too longJune McEnroe 2022-06-02Add initial working version of qfJune McEnroe 2022-05-29Set prompt for okshJune McEnroe