Archived
1
0
Fork 0

Goodies from WSL

- Use keychain daemon
- sslcheck and kubesel
- Local exports
- List of wsl packages
This commit is contained in:
J. Elfring (i) 2020-09-30 14:48:15 +02:00
parent 927dce4cfb
commit 272a583bc6
4 changed files with 40 additions and 0 deletions

View file

@ -94,3 +94,8 @@ alias alert='notify-send --urgency=low -i "$([ $? = 0 ] && echo terminal || echo
if [[ -f $HOME/.bash_profile ]]; then if [[ -f $HOME/.bash_profile ]]; then
source $HOME/.bash_profile source $HOME/.bash_profile
fi fi
cd $HOME
/usr/bin/keychain --nogui $HOME/.ssh/id_rsa
source $HOME/.keychain/$HOSTNAME-sh

View file

@ -45,3 +45,8 @@ export TODOTXT_DEFAULT_ACTION=ls
#export GDK_SCALE=2 #export GDK_SCALE=2
#export GDK_DPI_SCALE=0.5 #export GDK_DPI_SCALE=0.5
#export QT_DEVICE_PIXEL_RATIO=2 #export QT_DEVICE_PIXEL_RATIO=2
# Include local exports
if [ -f "$HOME/.local/exports" ]; then
source "$HOME/.local/exports"
fi

View file

@ -385,3 +385,15 @@ d_r2s(){
mman(){ mman(){
man -k . | sort | dmenu -l 30 | awk '{print substr($2, 2, length($2) - 2) " " $1}' | xargs -r $TERMINAL -e man man -k . | sort | dmenu -l 30 | awk '{print substr($2, 2, length($2) - 2) " " $1}' | xargs -r $TERMINAL -e man
} }
## Dump SSL Cert from host
sslcheck(){
echo -n | openssl s_client -connect $* | tee /dev/tty | openssl x509 -text -noout
}
## kubesel: fzf-select a cubeconfig and source it
kubesel(){
kubeconfig=$(find ~/.kube/kubesel -type f | rev | cut -d "/" -f 1 | rev | sort | fzf)
export KUBECONFIG=~/.kube/kubesel/$kubeconfig
}
so

View file

@ -0,0 +1,18 @@
aptitude
aspell
aspell-de
clusterssh
emacs
fzf
git
ispell
keychain
mc
org-mode
puppet
texlive
texlive-extra-utils
texlive-latex-extra
x11-utils
xclip
zathura