Skip to content

Instantly share code, notes, and snippets.

@note103 note103/.bashrc Secret

Last active Apr 12, 2020
Embed
What would you like to do?
# .bashrc
# Replace "***" to your project ID.
function m {
local msg="$@"
if [ -z "$msg" ]; then return; fi
LANG=C
local ymd=$(date +%Y-%m-%d)
local time=$(date +%H:%M:%S)
if [ ! -z "$msg" ]; then
open "https://scrapbox.io/***/$ymd?body=$msg $time
"
fi
LANG=ja_JP.UTF-8
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.