Bind Ctrl+E to open SSH fzf
Some checks are pending
SSH and echo to file / ssh (push) Waiting to run

This commit is contained in:
Joey Hafner 2024-10-08 11:58:13 -07:00
parent a2d70fa68c
commit 670bbe9218
No known key found for this signature in database
2 changed files with 15 additions and 0 deletions

View File

@ -236,6 +236,7 @@
bindkey '^[w' kill-region # Delete bindkey '^[w' kill-region # Delete
bindkey '^I^I' autosuggest-accept # Tab, Tab bindkey '^I^I' autosuggest-accept # Tab, Tab
bindkey '^[' autosuggest-clear # Esc bindkey '^[' autosuggest-clear # Esc
bindkey -s '^E' 'fzf-ssh\n'
_fzf_compgen_path() { _fzf_compgen_path() {
fd --hidden --exclude .git . "$1" fd --hidden --exclude .git . "$1"
} }
@ -287,6 +288,7 @@
home.homeDirectory = "/home/joey"; home.homeDirectory = "/home/joey";
home.stateVersion = "24.05"; home.stateVersion = "24.05";
home.packages = with pkgs; [ home.packages = with pkgs; [
deploy-rs
flatpak flatpak
fastfetch fastfetch
nixd nixd
@ -304,6 +306,10 @@
source = ./continue-config.json; source = ./continue-config.json;
target = ".continue/config.json"; target = ".continue/config.json";
}; };
"ssh-profiles" = {
source = ./profiles;
target = ".ssh/profiles";
};
}; };
home.sessionVariables = { home.sessionVariables = {

View File

@ -0,0 +1,9 @@
admin@192.168.1.31
admin@192.168.1.32
admin@192.168.1.33
admin@192.168.1.10
admin@192.168.1.11
admin@192.168.1.12
vyos@192.168.1.1
admin@192.168.1.23
admin@143.110.151.123