random

- collection of un-sorted bollocks
git clone git://git.acid.vegas/random.git
Log | Files | Refs | Archive

termux (1536B)

      1 #!bin/sh
      2 # termux helper - developed by acidvegas (https://git.acid.vegas/archlinux)
      3 set -xev
      4 passwd
      5 termux-setup-storage
      6 pkg upgrade
      7 pkg install abduco cmatrix gcc git exa make man nano ncdu oath-toolkit openssh python python-pip rsync tor wget
      8 wget https://github.com/64BitAsura/ohsnap-ttf/raw/master/ohsnap6x11r.icons.ttf /data/data/com.termux/files/home/.termux/font.ttf
      9 termux-reload-settings
     10 echo "\nE N T E R   T H E   V O I D\n\n" > $PREFIX/etc/motd
     11 echo "set boldtext\nset minibar\nnset nohelp\net nonewlines\nset nowrap\nset quickblank\nset tabsize 4\ninclude \"/usr/share/nano/*.nanorc\"" > $PREFIX/etc/nanorc
     12 {
     13 	echo "export LC_CTYPE=en_US.UTF-8"
     14 	echo "export LC_ALL=en_US.UTF-8"
     15 	echo "export GPG_TTY=$(tty)"
     16 
     17 	echo "# colors"
     18 	echo "alias diff='diff --color=auto'"
     19 	echo "alias grep='grep --color=auto'"
     20 	echo "alias ip='ip -color=auto'"
     21 	echo "alias ls='ls --color=auto'"
     22 
     23 	echo "# rewrites"
     24 	echo "alias exa='exa -aghl --git'"
     25 	echo "alias ssh-add='ssh-add -t 1h'"
     26 	echo "alias su='su -l'"
     27 
     28 	echo "# random"
     29 	echo "alias ..='cd ../'"
     30 	echo "alias busy=\"cat /dev/urandom | hexdump -C | grep 'ca fe'\""
     31 	echo "alias musync=\"rsync -vcahz --delete-before pi:music/ $HOME/storage/music\""
     32 	echo "alias updatemux=\"pkg update && pkg clean\""
     33 
     34 	echo "export PS1=\"\e[38;5;237m\T\e[0m \e[38;5;69m\w \e[0m: \""
     35 } > ~/.bashrc
     36 echo "shortcut.create-session=ctrl + t\n\nshortcut.next-session=ctrl + 2\nshortcut.previous-session=ctrl + 1\nshortcut.rename-session=ctrl + n\nbell-character=ignore" > $HOME/.termux/termux.properties