Add support for todo.txt
This commit is contained in:
		
							
								
								
									
										14
									
								
								rc.d/todo.txt
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										14
									
								
								rc.d/todo.txt
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,14 @@
 | 
				
			|||||||
 | 
					#!/bin/bash
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					if [ -f ~/software/todo.txt-cli/todo.sh ]; then
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  source ~/software/todo.txt-cli/todo_completion
 | 
				
			||||||
 | 
					  export TODOTXT_DEFAULT_ACTION=ls
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  alias todo='~/software/todo.txt-cli/todo.sh'
 | 
				
			||||||
 | 
					  complete -F _todo todo
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  alias t='~/software/todo.txt-cli/todo.sh'
 | 
				
			||||||
 | 
					  complete -F _todo t
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					fi
 | 
				
			||||||
		Reference in New Issue
	
	Block a user