added edit option
This commit is contained in:
parent
65e57ca2da
commit
dfa24a8967
8
bt
8
bt
@ -78,6 +78,14 @@ startup(){
|
|||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
if [ "$1" = "edit" ]; then
|
||||||
|
case $2 in
|
||||||
|
"pairlist")${EDITOR:-vim} "$PAIRLIST" && exit;;
|
||||||
|
"blacklist")${EDITOR:-vim} "$BLACKLIST" && exit;;
|
||||||
|
*)true;;
|
||||||
|
esac
|
||||||
|
fi
|
||||||
#Sadly needs to be run without '&' for now, since it otherwise breaks start_scan variable
|
#Sadly needs to be run without '&' for now, since it otherwise breaks start_scan variable
|
||||||
startup &
|
startup &
|
||||||
update_pair_list &
|
update_pair_list &
|
||||||
|
Loading…
Reference in New Issue
Block a user