Merge branch 'master' of git.blakenorth.net/home/git/dotfiles
This commit is contained in:
commit
56c8161b29
8 changed files with 19 additions and 4 deletions
|
@ -74,7 +74,7 @@ new() {
|
|||
if [ -z "$NOTE_PATH" ]; then
|
||||
echo "No directories found for '$2'."
|
||||
echo "All possible directories:"
|
||||
(cd "$NOTES_DIR" && fd -d 1 -t d "$NOTES_DIR")
|
||||
(cd "$NOTES_DIR" && fd -d 1 -t d)
|
||||
exit
|
||||
|
||||
# if there was more than one result
|
||||
|
@ -114,6 +114,7 @@ new() {
|
|||
}
|
||||
|
||||
subshell() {
|
||||
echo
|
||||
echo 'entering subshell'
|
||||
$SHELL
|
||||
}
|
||||
|
|
6
.config/shell/bin/pandoc-md
Executable file
6
.config/shell/bin/pandoc-md
Executable file
|
@ -0,0 +1,6 @@
|
|||
#!/bin/bash
|
||||
if [ -f "$1.md" ]; then
|
||||
pandoc -s "$1.md" -o "$1.html"
|
||||
else
|
||||
echo "Please specify a file name (without the .md extension)"
|
||||
fi
|
Loading…
Add table
Add a link
Reference in a new issue