Applied shfmt formatting
This commit is contained in:
parent
81ca45379b
commit
d5131083bc
12
flash
12
flash
|
|
@ -114,11 +114,12 @@ Science:What is the distance between the Earth and Sol called?:An Astronomical U
|
|||
Programming:What is the best operating system?:Arch, because BTW i run Arch:999"
|
||||
|
||||
# Define setup process in a function and create necessary files for user
|
||||
setup(){\
|
||||
mkdir "$DIR" && \
|
||||
touch {"$EXAMPLE_DECK","$HIGH_SCORE","$REVIEW_LOG"} && \
|
||||
echo "$DECK_TEMPLATE" >> "$EXAMPLE_DECK" && \
|
||||
echo -e "$DIR_MADE_MSG" ;}
|
||||
setup() {
|
||||
mkdir "$DIR" &&
|
||||
touch {"$EXAMPLE_DECK","$HIGH_SCORE","$REVIEW_LOG"} &&
|
||||
echo "$DECK_TEMPLATE" >>"$EXAMPLE_DECK" &&
|
||||
echo -e "$DIR_MADE_MSG"
|
||||
}
|
||||
|
||||
# Test if .local/share exists and wether to offer setup process
|
||||
if [ ! -d "$DIR" ]; then
|
||||
|
|
@ -208,7 +209,6 @@ while getopts 'hivp:' flag; do
|
|||
esac
|
||||
done
|
||||
|
||||
|
||||
# Set some parameters for preview command used by FZF
|
||||
while [ -z "$PREVIEWER_PARAMTERS" ]; do
|
||||
case "$PREVIEWER" in
|
||||
|
|
|
|||
Loading…
Reference in New Issue