diff --git a/simpleDots/bashrc b/simpleDots/bashrc index 2ff2862..c820041 100644 --- a/simpleDots/bashrc +++ b/simpleDots/bashrc @@ -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 diff --git a/simpleDots/exports b/simpleDots/exports index 6e54c82..a4d0815 100644 --- a/simpleDots/exports +++ b/simpleDots/exports @@ -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 diff --git a/simpleDots/functions b/simpleDots/functions index f506c8b..0ca673b 100644 --- a/simpleDots/functions +++ b/simpleDots/functions @@ -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 diff --git a/sysconfig_wsl-ubuntu/packages.txt b/sysconfig_wsl-ubuntu/packages.txt new file mode 100644 index 0000000..088f3bd --- /dev/null +++ b/sysconfig_wsl-ubuntu/packages.txt @@ -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