This commit is contained in:
parent
cc18662091
commit
2323619b00
14
files/pullrequest.sh
Executable file
14
files/pullrequest.sh
Executable file
|
@ -0,0 +1,14 @@
|
|||
#!/bin/bash
|
||||
|
||||
if [ -z "${1}" ]; then
|
||||
echo "No PR# specified, here is a list:"
|
||||
curl -s https://api.github.com/repos/Bitmessage/PyBitmessage/pulls -s | jq '.[] | .number, .title' | paste - -
|
||||
exit 1
|
||||
fi
|
||||
|
||||
echo "Checking out PR ${1}"
|
||||
curbranch=$(git status|head -1|cut -d\ -f3-)
|
||||
|
||||
git pull --all
|
||||
git fetch -u origin pull/"$1"/head:"$1"
|
||||
git checkout $1
|
6
files/termux.properties
Normal file
6
files/termux.properties
Normal file
|
@ -0,0 +1,6 @@
|
|||
extra-keys-style = none
|
||||
extra-keys = [[]]
|
||||
use-black-ui = true
|
||||
back-key = escape
|
||||
fullscreen = true
|
||||
use-fullscreen-workaround = true
|
|
@ -16,3 +16,8 @@ fi
|
|||
|
||||
cp -u files/bashrc ~/.bashrc
|
||||
cp -u files/vimrc ~/.vimrc
|
||||
mkdir -p ~/.termux
|
||||
cp -u files/termux.properties ~/.termux
|
||||
cp -u files/pullrequest.sh $PREFIX/bin
|
||||
|
||||
termux-reload-settings
|
||||
|
|
Loading…
Reference in New Issue
Block a user