-
-
Save note103/715ddf2907fbe2ffa27d8c3b2afd5ce4 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# .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