Fix some things

This commit is contained in:
Daniel Flanagan 2019-11-17 09:06:44 -06:00
parent 6c7d60c00f
commit 694e298a80
3 changed files with 6 additions and 3 deletions

View File

@ -3,6 +3,7 @@ root = true
[*] [*]
end_of_line = lf end_of_line = lf
insert_final_newline = true insert_final_newline = true
trim_trailing_whitespace = true
charset = utf-8 charset = utf-8
indent_style = tab indent_style = tab
indent_size = 2 indent_size = 2

View File

@ -26,11 +26,11 @@ ${I}Environment:
${I}${I}Some customization options exist using environment variables ${I}${I}Some customization options exist using environment variables
${I}${I}${I}due to their uncommon usage. ${I}${I}${I}due to their uncommon usage.
${I}${I}+ FSW_EVENTS - the list of events to have inotifywait observe ${I}${I}+ FSW_EVENTS - the list of events to have inotifywait observe
References: References:
${I}+ Filter works with grep -P ${I}+ Filter works with grep -P
${I}+ See inotifywait(1) for FSW_EVENTS options. ${I}+ See inotifywait(1) for FSW_EVENTS options.
Examples: Examples:
${I}fsw 'make' '\.c$' ${I}fsw 'make' '\.c$'
${I}fsw 'bash \$filename' '\.bash$' ${I}fsw 'bash \$filename' '\.bash$'
@ -62,6 +62,7 @@ inotifywait -m -e "${FSW_EVENTS}" -r "${DIRS[@]}" 2>&1 \
export FSW_DIR="$dir" export FSW_DIR="$dir"
export FSW_PATH="$dir$filename" export FSW_PATH="$dir$filename"
export FSW_FILE_EVENTS="$events" export FSW_FILE_EVENTS="$events"
export FSW_EVENT="$events $dir$filename"
<<< "$FSW_PATH" grep -P "$FILTER" > /dev/null 2>&1 && eval "${SHELL_COMMAND}" <<< "$FSW_PATH" grep -P "$FILTER" > /dev/null 2>&1 && eval "${SHELL_COMMAND}"
fi fi
done done

View File

@ -13,7 +13,8 @@ set -g default-terminal "tmux-256color"
set-option -g mouse on set-option -g mouse on
# honestly not exactly sure? # honestly not exactly sure?
set -sg escape-time 1 # set -sg escape-time 1
set -sg escape-time 0
# show window activity # show window activity
# TODO: this needs to be properly setup # TODO: this needs to be properly setup