mirror of
https://github.com/RyanGreenup/cadmus.git
synced 2025-04-06 19:12:26 +02:00
cd to NOTES_DIR ∵ commands |> back into bash
This commit is contained in:
parent
30b26de707
commit
39d0c180f6
@ -9,6 +9,8 @@ else
|
||||
NOTE_DIR='./'
|
||||
fi
|
||||
|
||||
## Must be in notes directory because commands are piped back into bash
|
||||
cd $NOTE_DIR
|
||||
|
||||
main () {
|
||||
|
||||
@ -53,7 +55,7 @@ elif [ $choice == 't' ]; then
|
||||
|
||||
## Print the TMSU commands to run to STDOUT (including a CD)
|
||||
## Pipe these back to bash
|
||||
hashtags $NOTE_DIR | bash
|
||||
hashtags $NOTE_DIR #| bash
|
||||
elif [ $choice == 'b' ]; then
|
||||
echo "Option $choice selected" #FIXME
|
||||
## TODO this should maybe loop back around ?
|
||||
|
Loading…
x
Reference in New Issue
Block a user