work on install method

main
czoczo 9 months ago
parent 00f609ce29
commit 536dc127aa
  1. 4
      getbb.sh

@ -9,14 +9,14 @@ get_file() {
handle_inputrc() {
[ ! -f ~/.inputrc ] && touch ~/.inputrc
grep -q "BetterBash" ~/.inputrc || get_file /.inputrc >> ~/.inputrc && \
bind -f ~/.inputrc
grep -q "BetterBash" ~/.inputrc || get_file /.inputrc >> ~/.inputrc
}
DIR=~/.bb
CMD=$(cat <<-END
# BetterBash
[ -f $DIR/bb.sh ] && . $DIR/bb.sh
bind -f ~/.inputrc
END
)

Loading…
Cancel
Save