Goodies from WSL
- Use keychain daemon - sslcheck and kubesel - Local exports - List of wsl packages
This commit is contained in:
parent
927dce4cfb
commit
272a583bc6
4 changed files with 40 additions and 0 deletions
|
@ -94,3 +94,8 @@ alias alert='notify-send --urgency=low -i "$([ $? = 0 ] && echo terminal || echo
|
|||
if [[ -f $HOME/.bash_profile ]]; then
|
||||
source $HOME/.bash_profile
|
||||
fi
|
||||
|
||||
cd $HOME
|
||||
|
||||
/usr/bin/keychain --nogui $HOME/.ssh/id_rsa
|
||||
source $HOME/.keychain/$HOSTNAME-sh
|
||||
|
|
|
@ -45,3 +45,8 @@ export TODOTXT_DEFAULT_ACTION=ls
|
|||
#export GDK_SCALE=2
|
||||
#export GDK_DPI_SCALE=0.5
|
||||
#export QT_DEVICE_PIXEL_RATIO=2
|
||||
|
||||
# Include local exports
|
||||
if [ -f "$HOME/.local/exports" ]; then
|
||||
source "$HOME/.local/exports"
|
||||
fi
|
||||
|
|
|
@ -385,3 +385,15 @@ d_r2s(){
|
|||
mman(){
|
||||
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
|
||||
|
|
18
sysconfig_wsl-ubuntu/packages.txt
Normal file
18
sysconfig_wsl-ubuntu/packages.txt
Normal 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
|
Reference in a new issue