add dec fonts, add ssh, add local gitconfig support, update from lal-10

This commit is contained in:
Diego Fernando Carrión 2024-07-29 13:04:09 +02:00
parent 8f7d3875d4
commit 06891dbbf1
No known key found for this signature in database
GPG Key ID: 811EF2E03998BFC4
10 changed files with 38 additions and 9 deletions

View File

@ -36,6 +36,11 @@ then
fi
fi
if [ -x "$(command -v tput)" ]
then
alias reset='tput reset'
fi
alias k=kubectl
if [ -x "$(which nvim)" ]
@ -48,3 +53,5 @@ if [ -f ~/.bash_aliases.local ]
then
. "$HOME/.bash_aliases.local"
fi
alias title='wezterm cli set-tab-title'

View File

@ -31,7 +31,16 @@ HISTSIZE=4096
HISTFILESIZE=4096
# TERM
export TERM=xterm
if [[ "$(basename "/"$(ps -o cmd -f -p $(cat /proc/$(echo $$)/stat | cut -d \ -f 4) | tail -1 | sed 's/ .*$//'))" == "cool-retro-term" ]]
then
if [[ "$(ps -o cmd -f -p $(cat /proc/$(echo $$)/stat | cut -d \ -f 4) | tail -1 | perl -pe 's/^\S+( -p (\w+))?/\2/')" == "VT220" ]]
then
export TERM=vt220
unset COLORTERM
fi
else
export TERM=xterm-256color
fi
# check the window size after each command and, if necessary,
# update the values of LINES and COLUMNS.
@ -146,7 +155,3 @@ then
fi
####
# BEGIN_KITTY_SHELL_INTEGRATION
if test -n "$KITTY_INSTALLATION_DIR" -a -e "$KITTY_INSTALLATION_DIR/shell-integration/bash/kitty.bash"; then source "$KITTY_INSTALLATION_DIR/shell-integration/bash/kitty.bash"; fi
# END_KITTY_SHELL_INTEGRATION

View File

@ -6,7 +6,9 @@
gpgsign = true
[diff]
tool = vimdiff
[pull]
rebase = true
[init]
defaultBranch = main
[pull]
rebase = true
[include]
path = ~/.gitconfig.local

View File

@ -1 +0,0 @@
.local/bin

13
any/ssh/.ssh/config Normal file
View File

@ -0,0 +1,13 @@
Host sdf
Hostname meta.sdf.org
User crthaze
Host hal-11
User crthaze
Host hal-11-external
Hostname xn--e-0fa.net
Port 2444
User crthaze
Host git.sdf.org
Port 2222
Include ~/.ssh/config.local

View File

@ -351,7 +351,7 @@ let g:rooter_resolve_links = 1
""" NERDtree
nnoremap <leader>n :NERDTreeFocus<CR>
nnoremap <leader>f :NERDTreeToggle<CR>
nnoremap <leader>e :NERDTreeToggle<CR>
nnoremap <leader>o :NERDTreeFind<CR>
" Open NERDTree on the right side of the window.

View File

@ -0,0 +1 @@
6b030113-c86d-47e3-a99e-db6536d5d1e0

View File

@ -1,5 +1,7 @@
#!/usr/bin/env bash
mkdir -p $HOME/.ssh > /dev/null 2>&1
shopt -s extglob
for x in {any,"${OSTYPE%%+([[:digit:].])}"}/*
do