This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
alias tn='textnote' | |
tnlatest() { | |
ls -l $TEXTNOTE_DIR | grep -v 'archive' | awk '{print $9}' | sort -r | head -n 1 | cut -f 1 -d '.' | |
} | |
tnls() { | |
ls -la ${TEXTNOTE_DIR} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
alias ct="calendar-tasks" | |
# uses ripgrep to search but standard grep -r should work as well | |
ctsearch() { | |
rg -i -N $1 "$CALENDAR_TASKS_DIR/sources/" | |
} | |
ctls() { | |
ls "$CALENDAR_TASKS_DIR/sources/" | |
} |