Skip to content

Instantly share code, notes, and snippets.

#!/usr/bin/env bash
function m() {
local marks="$HOME/.config/m/marks"
local version="0.0.1"
# Create "$HOME/.config/m/marks" if it doesn't exist.
if ! [[ -f "$marks" ]]; then
mkdir -p "$(dirname "$marks")"
touch "$marks"