aboutsummaryrefslogblamecommitdiffstats
path: root/fish/functions/add-inspection-prep-to-todo.fish
blob: eb4d5b74671ec95ec0ccfc6e400003b6dd446be2 (plain) (tree)
1
2
3
4
5
6
7
8
9








                                                                                                                                      
# Defined in /tmp/fish.KYnv1Y/add-inspection-prep-to-todo.fish @ line 2
function add-inspection-prep-to-todo --description 'Adds a bunch of stuff from a text file to end of todo.txt file'
	if [ -z "$argv" ]; # no arguments
        echo "No arguments supplied. Provide a project name."
        return
    else
	    sed "s/#projectname/\#\"$argv[1]\"/g" ~/todo/templates/Inspection_Plan_Template_For_todo.txt >> /home/lemon/todo/todo.todo
    end 
end