14 lines
		
	
	
	
		
			390 B
		
	
	
	
		
			Diff
		
	
	
	
	
	
		
		
			
		
	
	
			14 lines
		
	
	
	
		
			390 B
		
	
	
	
		
			Diff
		
	
	
	
	
	
| 
								 | 
							
								diff --git a/notes b/notes
							 | 
						||
| 
								 | 
							
								index 3351903..34364bf 100755
							 | 
						||
| 
								 | 
							
								--- a/notes
							 | 
						||
| 
								 | 
							
								+++ b/notes
							 | 
						||
| 
								 | 
							
								@@ -14,7 +14,7 @@ set -e
							 | 
						||
| 
								 | 
							
								 readonly NOTES_DIRECTORY="${NOTES_DIRECTORY:-${HOME}/notes}"
							 | 
						||
| 
								 | 
							
								 readonly NOTES_EDITOR="${EDITOR}"
							 | 
						||
| 
								 | 
							
								 
							 | 
						||
| 
								 | 
							
								-readonly NOTES_FILE="$(date +%Y-%m).txt"
							 | 
						||
| 
								 | 
							
								+readonly NOTES_FILE="$(date +%Y-%m-%d).txt"
							 | 
						||
| 
								 | 
							
								 readonly NOTES_PATH="${NOTES_DIRECTORY}/${NOTES_FILE}"
							 | 
						||
| 
								 | 
							
								 
							 | 
						||
| 
								 | 
							
								 if [ ! -d "${NOTES_DIRECTORY}" ]; then
							 |