110

GitHub - onlurking/termux: Dotfiles for Termux (tmux, zsh, and neovim)

 5 years ago
source link: https://github.com/onlurking/termux
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

README.md

Termux Dotfiles

Installation Screenshot 68747470733a2f2f692e696d6775722e636f6d2f564444455868312e706e67 68747470733a2f2f692e696d6775722e636f6d2f357468495746662e706e67

Requirements

Install curl first:

apt update && apt -y upgrade && apt install -y curl

Installation

Just paste the following code into Termux and adjust the parameters to customize what the script will install:

curl -fsSL https://git.io/termux | bash -s -- --zsh --python --neovim

Script parameters

-pg or --postgres setup a postgres installation (optional pgcli install)
-p or --python setup a python installation
-r or --ruby setup a ruby installation (includes pry)
-g, --go or --golang setup a golang installation
-js or --nodejs setups nodejs (optional yarn install)
-t or --tmux setups tmux
-n or --neovim setups neovim
--php setups php
-z or --zsh setups zsh (optional syntax-highlight and auto-sugestions)
-e or --elixir setup a erlang, and elixir installation

Security

https://git.io/termux is a short url which resolves to
https://raw.githubusercontent.com/onlurking/termux/master/termux.sh

Piping commands from internet to shell is considered bad practice,
and there is lot of discussion on the internet:


but I did this anyway because of the convenience factor (there is no way to be more straightforward than this),
please, feel free to review the installer code and open an Issue.


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK