add dec fonts, add ssh, add local gitconfig support, update from lal-10
This commit is contained in:
parent
8f7d3875d4
commit
06891dbbf1
@ -36,6 +36,11 @@ then
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ -x "$(command -v tput)" ]
|
||||||
|
then
|
||||||
|
alias reset='tput reset'
|
||||||
|
fi
|
||||||
|
|
||||||
alias k=kubectl
|
alias k=kubectl
|
||||||
|
|
||||||
if [ -x "$(which nvim)" ]
|
if [ -x "$(which nvim)" ]
|
||||||
@ -48,3 +53,5 @@ if [ -f ~/.bash_aliases.local ]
|
|||||||
then
|
then
|
||||||
. "$HOME/.bash_aliases.local"
|
. "$HOME/.bash_aliases.local"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
alias title='wezterm cli set-tab-title'
|
||||||
|
@ -31,7 +31,16 @@ HISTSIZE=4096
|
|||||||
HISTFILESIZE=4096
|
HISTFILESIZE=4096
|
||||||
|
|
||||||
# TERM
|
# 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,
|
# check the window size after each command and, if necessary,
|
||||||
# update the values of LINES and COLUMNS.
|
# update the values of LINES and COLUMNS.
|
||||||
@ -146,7 +155,3 @@ then
|
|||||||
fi
|
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
|
|
||||||
|
@ -6,7 +6,9 @@
|
|||||||
gpgsign = true
|
gpgsign = true
|
||||||
[diff]
|
[diff]
|
||||||
tool = vimdiff
|
tool = vimdiff
|
||||||
[pull]
|
|
||||||
rebase = true
|
|
||||||
[init]
|
[init]
|
||||||
defaultBranch = main
|
defaultBranch = main
|
||||||
|
[pull]
|
||||||
|
rebase = true
|
||||||
|
[include]
|
||||||
|
path = ~/.gitconfig.local
|
||||||
|
@ -1 +0,0 @@
|
|||||||
.local/bin
|
|
13
any/ssh/.ssh/config
Normal file
13
any/ssh/.ssh/config
Normal 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
|
@ -351,7 +351,7 @@ let g:rooter_resolve_links = 1
|
|||||||
|
|
||||||
""" NERDtree
|
""" NERDtree
|
||||||
nnoremap <leader>n :NERDTreeFocus<CR>
|
nnoremap <leader>n :NERDTreeFocus<CR>
|
||||||
nnoremap <leader>f :NERDTreeToggle<CR>
|
nnoremap <leader>e :NERDTreeToggle<CR>
|
||||||
nnoremap <leader>o :NERDTreeFind<CR>
|
nnoremap <leader>o :NERDTreeFind<CR>
|
||||||
|
|
||||||
" Open NERDTree on the right side of the window.
|
" Open NERDTree on the right side of the window.
|
||||||
|
1
linux-gnu/fonts/.local/share/fonts/Misc/.uuid
Normal file
1
linux-gnu/fonts/.local/share/fonts/Misc/.uuid
Normal file
@ -0,0 +1 @@
|
|||||||
|
6b030113-c86d-47e3-a99e-db6536d5d1e0
|
BIN
linux-gnu/fonts/.local/share/fonts/Misc/Glass_TTY_VT220.ttf
Normal file
BIN
linux-gnu/fonts/.local/share/fonts/Misc/Glass_TTY_VT220.ttf
Normal file
Binary file not shown.
BIN
linux-gnu/fonts/.local/share/fonts/Misc/decterm_modern.ttf
Normal file
BIN
linux-gnu/fonts/.local/share/fonts/Misc/decterm_modern.ttf
Normal file
Binary file not shown.
@ -1,5 +1,7 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
mkdir -p $HOME/.ssh > /dev/null 2>&1
|
||||||
|
|
||||||
shopt -s extglob
|
shopt -s extglob
|
||||||
for x in {any,"${OSTYPE%%+([[:digit:].])}"}/*
|
for x in {any,"${OSTYPE%%+([[:digit:].])}"}/*
|
||||||
do
|
do
|
||||||
|
Loading…
x
Reference in New Issue
Block a user