summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.Xresources1
-rw-r--r--.bashrc2
-rw-r--r--.gitconfig2
-rw-r--r--.vimrc3
-rwxr-xr-xbin/gauth4
-rwxr-xr-xbin/p4a3
-rwxr-xr-xbin/xt3
7 files changed, 14 insertions, 4 deletions
diff --git a/.Xresources b/.Xresources
index 1514003..bdf02a3 100644
--- a/.Xresources
+++ b/.Xresources
@@ -22,6 +22,7 @@ xterm*VT100.Translations: #override \
Meta <Key> equal: larger-vt-font() \n
xterm*cursorColor: red
xterm*visualBell: true
+xterm*geometry: 100x32
!xterm*faceName: DejaVu Sans Mono
!xterm*faceSize: 10
! xterm*font: 7x14
diff --git a/.bashrc b/.bashrc
index c086d45..95f2377 100644
--- a/.bashrc
+++ b/.bashrc
@@ -131,3 +131,5 @@ unset base
# load Nix config files (aka auto-completion etc.)
export XDG_DATA_DIRS="$HOME/.nix-profile/share:${XDG_DATA_DIRS:-/usr/local/share:/usr/share}"
+
+[ -f ~/.fzf.bash ] && source ~/.fzf.bash
diff --git a/.gitconfig b/.gitconfig
index cefd5e5..11f0d14 100644
--- a/.gitconfig
+++ b/.gitconfig
@@ -15,3 +15,5 @@
rebase = false
[hub]
protocol = ssh
+[init]
+ defaultBranch = main
diff --git a/.vimrc b/.vimrc
index 9e45e2d..5220bba 100644
--- a/.vimrc
+++ b/.vimrc
@@ -1,14 +1,13 @@
" set background=
set t_te= t_ti= laststatus=2
-set rtp+=/opt/local/share/fzf/vim
-
syntax off
filetype on
filetype plugin on
filetype plugin indent on
let mapleader = ","
+set rtp+=/opt/homebrew/opt/fzf
let g:fzf_preview = 'cat {}'
" vimki plugin
diff --git a/bin/gauth b/bin/gauth
index 575d6fc..699cd84 100755
--- a/bin/gauth
+++ b/bin/gauth
@@ -1,7 +1,9 @@
#!/bin/sh
# Use backup from andOTP
-gpg -qd ~/.otp_accounts.json.gpg |
+#gpg -qd ~/otp_accounts.json.gpg.pgp |
+#gpg -qd ~/.otp_accounts.json.gpg |
+cat ~/otp_accounts.json |
jq -r '.[] | "\(.label) \(.secret)"' |
while read -r l s; do
echo "$l $(oathtool --totp -b "$s")"
diff --git a/bin/p4a b/bin/p4a
new file mode 100755
index 0000000..30e54ff
--- /dev/null
+++ b/bin/p4a
@@ -0,0 +1,3 @@
+#!/bin/sh
+adb forward tcp:8222 tcp:8022
+ssh ssh://u0_a250@localhost:8222
diff --git a/bin/xt b/bin/xt
index 71b92d3..9395b3e 100755
--- a/bin/xt
+++ b/bin/xt
@@ -1,4 +1,5 @@
#!/bin/sh
-exec xterm -sl 500 -j -cr red "$@" &
+#exec xterm -sl 500 -j -cr red "$@" &
+exec xterm "$@" &
#cmd="urxvtc ${@:--T $HOSTNAME}"
#eval "$cmd" || { [ $? = 2 ] && urxvtd -q -o -f && eval "$cmd"; }