Skip to content

Instantly share code, notes, and snippets.

@andscoop
andscoop / todo.sh
Last active September 30, 2018 22:42
One line shell script using ripgrep to scrape all dev directories for all TODO.md files
###############################
### TODO shortcuts
export TD_PATH=""
alias td="rg -n -g 'TODO.md' '\- \[\]' $TD_PATH
###############################
##
# App Name - also used for conf file naming
##
app_name=$1
if [ -z "$1" ];then
echo "Must provide app_name!"
exit 1
fi
@andscoop
andscoop / init.lua
Last active March 17, 2024 14:12
a simple, single file init.lua for nvim
-- forked from https://github.com/nvim-lua/kickstart.nvim
-- TODO
-- system clipboard copy config (unnamedplus?)
-- Install packer
local install_path = vim.fn.stdpath 'data' .. '/site/pack/packer/start/packer.nvim'
local is_bootstrap = false
if vim.fn.empty(vim.fn.glob(install_path)) > 0 then
is_bootstrap = true