1
0
Fork 0
mirror of https://github.com/kou029w/dotfiles.git synced 2025-02-01 06:38:37 +00:00

Compare commits

...

5 commits

Author SHA1 Message Date
d483d4e1b4 install .gitconfig.local 2024-10-29 04:26:19 +09:00
13717204be remove install_termux_task 2024-10-29 04:23:35 +09:00
48f2024e8c add .gitconfig.local 2024-10-29 04:22:19 +09:00
4583176889 include .gitconfig.local 2024-10-29 04:18:28 +09:00
208f5ff496 add fzf 2024-10-29 02:55:33 +09:00
5 changed files with 14 additions and 5 deletions

View file

@ -1,6 +1,7 @@
[[ -f "$HOMEBREW_PREFIX/etc/bash_completion" ]] && . "$HOMEBREW_PREFIX/etc/bash_completion"
[[ -f /usr/share/bash-completion/bash_completion ]] && . /usr/share/bash-completion/bash_completion
[[ -f /usr/share/doc/fzf/examples/key-bindings.bash ]] && . /usr/share/doc/fzf/examples/key-bindings.bash
[[ -f /data/data/com.termux/files/usr/share/fzf/key-bindings.bash ]] && . /data/data/com.termux/files/usr/share/fzf/key-bindings.bash
[[ "$TERM" == xterm-256color ]] && PS1='\[\e]0;\u@\h: \w\a\]'
HISTCONTROL=ignoreboth:erasedups
HISTFILESIZE=$((0x7fffffff))

View file

@ -14,3 +14,5 @@
autoStash = true
[push]
autoSetupRemote = true
[include]
path = ~/.gitconfig.local

8
termux/.gitconfig.local Normal file
View file

@ -0,0 +1,8 @@
[commit]
gpgSign = false
[credential "https://github.com"]
helper =
helper = !/data/data/com.termux/files/usr/bin/gh auth git-credential
[credential "https://gist.github.com"]
helper =
helper = !/data/data/com.termux/files/usr/bin/gh auth git-credential

View file

@ -1,6 +1,7 @@
#!/bin/bash
set -euo pipefail
cd -- "$(dirname -- "$0")"
. ../mod.bash
function install_pkg_packages() {
local packages
@ -9,9 +10,5 @@ function install_pkg_packages() {
pkg install -y "${packages[@]}"
}
function install_termux_task() {
mkdir -p ~/.shortcuts/tasks
install -v "$1" ~/.shortcuts/tasks/
}
install_dotfiles
install_pkg_packages

View file

@ -1,5 +1,6 @@
packages=(
dnsutils
fzf
gh
git
gnupg