main
czoczo 9 months ago
parent 1799c9023f
commit 1650a1a509
  1. 2
      getbb.sh
  2. 4
      removebb.sh

@ -6,7 +6,7 @@ get_file() {
}
DIR=~/.bb && \
CMD="[ -f $DIR/bb.sh ] && . $DIR/bb.sh" && \
CMD="# BetterBash\n[ -f $DIR/bb.sh ] && . $DIR/bb.sh" && \
mkdir -p $DIR && \
get_file /prompt/bb.sh > $DIR/bb.sh && \
get_file /prompt/git-prompt.sh > $DIR/git-prompt.sh && \

@ -1,5 +1,5 @@
#!/bin/bash
sed -i '/BetterBash/,+1d' ~./bashrc && \
sed -i '/BetterBash/,+4d' ~./inputrc && \
sed -i '/BetterBash/,+1d' ~/.bashrc && \
sed -i '/BetterBash/,+4d' ~/.inputrc && \
rm -r ~/.bb

Loading…
Cancel
Save