attachment script and markdown preview
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
# based on https://github.com/astroidmail/astroid/issues/339#issuecomment-300491869
|
||||
|
||||
cachedir=~/.cache/astroid-attachments
|
||||
attachment=$(echo "$1" | sed -E "s#.*astroid/.+?-##")
|
||||
attachment=$(echo "$1" | sed -E "s|.*astroid/[a-zA-Z0-9]*?-||")
|
||||
|
||||
touch $cachedir/token."$attachment"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user