fixed list function and install script bugs
This commit is contained in:
@@ -1,4 +1,10 @@
|
||||
#!/bin/bash
|
||||
function list(){
|
||||
# This function, given a folder, $NOTE, will list the contents of $NOTE.
|
||||
ls "$NOTES_DIR/${NOTE%.*}"
|
||||
cd "$(dirname "$NOTES_DIR/$NOTE")"
|
||||
find . -type f -name "*$EXT" | while read file; do
|
||||
printf "%s\n" "$file"
|
||||
done
|
||||
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user