Tous les articles

Termux配置

分类: «Linux»
Mots-clés: ,

Termux额外按键

vim .termux/termux.properties
extra-keys = [['ESC','/','-','HOME','UP','END','PGUP'],['TAB','CTRL','ALT','LEFT','DOWN','RIGHT','PGDN']]

Zsh

pkg install zsh
git clone https://gitee.com/idkzr/termux-ohmyzsh
./termux-ohmyzsh/tool/install.sh

zshrc

alias e=exit
alias nxcf="vim ../usr/etc/nginx/nginx.conf"

Vim

pkg install …

Git基本用法

分类: «Web»
Mots-clés:
git init
git add --all
#git add output
git commit -m "first commit"
git remote add origin url
git push -u origin master

拉取指定分支:

git clone -b 分支名称 URL