add termux config to the repo
This commit is contained in:
parent
d668f757c2
commit
bc0e688446
14
_setup.sh
14
_setup.sh
|
@ -1,4 +1,4 @@
|
|||
#!/bin/sh
|
||||
#!/bin/bash
|
||||
|
||||
PATH_PREFIX=`pwd`
|
||||
|
||||
|
@ -40,6 +40,18 @@ if ! [ -d ~/.asdf ]; then
|
|||
cd $PATH_PREFIX
|
||||
fi
|
||||
|
||||
# termux tuning
|
||||
if grep -q "Android" <<< `uname -a`; then
|
||||
if ! [ -d ~/.termux ]; then
|
||||
mkdir ~/.termux
|
||||
fi
|
||||
rm ~/.termux/termux.properties
|
||||
# must be copy to prevent error on termux startup
|
||||
cp $PATH_PREFIX/termux/termux.properties ~/.termux/termux.properties
|
||||
# reload settings
|
||||
termux-reload-settings
|
||||
fi
|
||||
|
||||
echo "exa fd bat tmux htop nano most ripgrep emacs zsh lf restic rclone"
|
||||
echo "copy restic.sh if desired/needed"
|
||||
echo "run tmux and do <prefix>-I to install plugins and finish setup"
|
||||
|
|
1
termux/termux.properties
Normal file
1
termux/termux.properties
Normal file
|
@ -0,0 +1 @@
|
|||
extra-keys = [ ['ESC','-','BACKSLASH','HOME','UP','END','PGUP','DEL'], ['TAB','CTRL','ALT','LEFT','DOWN','RIGHT','PGDN','DRAWER'] ]
|
Loading…
Reference in a new issue