1
0
Fork 0
mirror of https://github.com/Luzifer/termux-cfg.git synced 2024-12-20 16:51:15 +00:00

Initial setup

This commit is contained in:
Knut Ahlers 2019-10-19 20:12:22 +02:00
commit 15b6e3d47d
5 changed files with 62 additions and 0 deletions

9
.bashrc Normal file
View file

@ -0,0 +1,9 @@
PS1="\u:\w\$ "
export EDITOR="/data/data/com.termux/files/usr/bin/nvim"
export PATH="/data/data/com.termux/files/home/bin:${PATH}"
alias ls='exa'
alias serve='gziphttp --serve-dir /storage/emulated/0/public --listen :8080'
alias tconf='git --git-dir /data/data/com.termux/files/home/.termux_config --work-tree /data/data/com.termux/files/home'
alias vim='nvim'

45
.gitconfig Normal file
View file

@ -0,0 +1,45 @@
[alias]
br = branch
ci = commit
co = checkout
df = diff
lg = "log --color --graph --pretty=format:'%Cred%h%Creset [%G?]%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit"
ri = rebase --interactive --autosquash
st = status
[branch]
autosetuprebase = always
[color]
branch = auto
diff = auto
status = auto
[commit]
gpgsign = false
[core]
bare = false
excludesfile = ~/.gitignore_global
filemode = true
logallrefupdates = true
pager = less -F -X
repositoryformatversion = 0
warnAmbiguousRefs = false
[diff]
renames = true
[push]
default = upstream
gpgSign = if-asked
[receive]
denyNonFastForwards = true
[rerere]
enabled = true
[user]
email = knut@ahlers.me
name = Knut Ahlers

2
.gitignore vendored Normal file
View file

@ -0,0 +1,2 @@
.termux_config/
storage/

5
.shortcuts/start_server Executable file
View file

@ -0,0 +1,5 @@
#!/data/data/com.termux/files/usr/bin/env bash
exec /data/data/com.termux/files/home/bin/gziphttp \
--serve-dir /storage/emulated/0/public \
--listen :8080

1
.ssh/authorized_keys Normal file
View file

@ -0,0 +1 @@
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIGVbYCO34iJikI+nLxpu2zjrvIh92GQqiss3Bkt+CSo4 loki