mirror of
https://github.com/pnx/dotfiles
synced 2026-06-16 03:14:55 +02:00
adding scripts/ssh-fzf
This commit is contained in:
parent
06293d3a17
commit
bba14b79c6
1 changed files with 5 additions and 0 deletions
5
scripts/ssh-fzf
Executable file
5
scripts/ssh-fzf
Executable file
|
|
@ -0,0 +1,5 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
FZF="fzf --tmux=center --border=sharp --separator=─ --margin=0 --layout=reverse --preview="
|
||||||
|
|
||||||
|
ssh $(cat ~/.ssh/config | sed -n 's/^Host\s//p' | $FZF) $@
|
||||||
Loading…
Add table
Add a link
Reference in a new issue