mirror of
https://github.com/BreizhHardware/cours-ISEN-MD.git
synced 2026-03-18 21:50:46 +01:00
Obisidian vault auto-backup: 27-01-2026 10:43:19 on . 2 files edited
This commit is contained in:
23
.obsidian/plugins/obsidian-git/obsidian_askpass (conflicted copy 2026-01-26 143605).sh
vendored
Normal file
23
.obsidian/plugins/obsidian-git/obsidian_askpass (conflicted copy 2026-01-26 143605).sh
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
#!/bin/sh
|
||||
|
||||
PROMPT="$1"
|
||||
TEMP_FILE="$OBSIDIAN_GIT_CREDENTIALS_INPUT"
|
||||
|
||||
cleanup() {
|
||||
rm -f "$TEMP_FILE" "$TEMP_FILE.response"
|
||||
}
|
||||
trap cleanup EXIT
|
||||
|
||||
echo "$PROMPT" > "$TEMP_FILE"
|
||||
|
||||
while [ ! -e "$TEMP_FILE.response" ]; do
|
||||
if [ ! -e "$TEMP_FILE" ]; then
|
||||
echo "Trigger file got removed: Abort" >&2
|
||||
exit 1
|
||||
fi
|
||||
sleep 0.1
|
||||
done
|
||||
|
||||
RESPONSE=$(cat "$TEMP_FILE.response")
|
||||
|
||||
echo "$RESPONSE"
|
||||
0
.obsidian/plugins/obsidian-git/obsidian_askpass.sh
vendored
Normal file → Executable file
0
.obsidian/plugins/obsidian-git/obsidian_askpass.sh
vendored
Normal file → Executable file
Reference in New Issue
Block a user