mirror of
https://github.com/Luzifer/termux-cfg.git
synced 2024-11-08 06:20:00 +00:00
Initial setup
This commit is contained in:
commit
15b6e3d47d
5 changed files with 62 additions and 0 deletions
9
.bashrc
Normal file
9
.bashrc
Normal 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
45
.gitconfig
Normal 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
2
.gitignore
vendored
Normal file
|
@ -0,0 +1,2 @@
|
|||
.termux_config/
|
||||
storage/
|
5
.shortcuts/start_server
Executable file
5
.shortcuts/start_server
Executable 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
1
.ssh/authorized_keys
Normal file
|
@ -0,0 +1 @@
|
|||
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIGVbYCO34iJikI+nLxpu2zjrvIh92GQqiss3Bkt+CSo4 loki
|
Loading…
Reference in a new issue