dotfiles

dotfiles
git clone git://git.afify.dev/dotfiles
Log | Files | Refs

commit 08dbc51ea8aeb77f6a7e31e200d45fdd02e9e26a
parent 8806d9fa26a90908854f6d57abe6dc929f7c97d5
Author: afify <hassan@afify.dev>
Date:   Sat,  6 Nov 2021 15:11:38 +0300

[feat] add connect_ssh

Diffstat:
A.scripts/connect_ssh | 4++++
1 file changed, 4 insertions(+), 0 deletions(-)

diff --git a/.scripts/connect_ssh b/.scripts/connect_ssh @@ -0,0 +1,4 @@ +#!/bin/sh +host=$(awk '/Host [a-zA-Z]/ {print $2}' $HOME/.ssh/config) +choosen=$(echo "$host" | dmenu) +[ $choosen ] && st ssh $choosen