GitHub - onlurking/termux: Dotfiles for Termux (tmux, zsh, and neovim)
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 ScreenshotRequirements
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:
- Hacker News Discussion
- Don't Pipe to your Shell
- The Truth About Curl and Installing Software Securely on Linux
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.
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK