mirror of
https://github.com/kou029w/dotfiles.git
synced 2025-02-01 06:38:37 +00:00
Compare commits
5 commits
fd975eea6d
...
d483d4e1b4
Author | SHA1 | Date | |
---|---|---|---|
d483d4e1b4 | |||
13717204be | |||
48f2024e8c | |||
4583176889 | |||
208f5ff496 |
5 changed files with 14 additions and 5 deletions
1
.bashrc
1
.bashrc
|
@ -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))
|
||||
|
|
|
@ -14,3 +14,5 @@
|
|||
autoStash = true
|
||||
[push]
|
||||
autoSetupRemote = true
|
||||
[include]
|
||||
path = ~/.gitconfig.local
|
||||
|
|
8
termux/.gitconfig.local
Normal file
8
termux/.gitconfig.local
Normal 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
|
|
@ -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
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
packages=(
|
||||
dnsutils
|
||||
fzf
|
||||
gh
|
||||
git
|
||||
gnupg
|
||||
|
|
Loading…
Add table
Reference in a new issue