Fuzzy-finder is now called through a variable, making it easier to change
arguments to it.
CACHE=$XDG_CACHE_HOME/buseir
TMP=/tmp/buseir
MAP=http://www.google.com/maps/place
+MENU="fzf --reverse --height=12"
sync() {
echo Syncing data...
}
stopInfo() {
- [ "$1" == "search" ] && STOP=$(stopInfo | fzf) || STOP=$1
+ [ "$1" == "search" ] && STOP=$(stopInfo | $MENU) || STOP=$1
[ -z "$2" ] && COL=2 \
|| case $2 in
duid) COL=1;; name) COL=2;; lat) COL=3;; long) COL=4;;