From 61d6f56435a37a37739474f1b2d04cea8c1b5b21 Mon Sep 17 00:00:00 2001 From: John Bowdre Date: Fri, 4 Aug 2023 10:28:43 -0500 Subject: [PATCH] clean up ssh aliases --- home/features/cli/fish.nix | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/home/features/cli/fish.nix b/home/features/cli/fish.nix index c892824..6f85138 100644 --- a/home/features/cli/fish.nix +++ b/home/features/cli/fish.nix @@ -7,8 +7,6 @@ jqless = "jq -C | less -r"; k = "kubectl"; n = "nix"; - scppass = "scp -o PubkeyAuthentication=no"; - sshpass = "ssh -o PubkeyAuthentication=no"; tf = "terraform"; tfyolo = "terraform apply -auto-approve"; vi = "vim"; @@ -16,12 +14,12 @@ }; shellAliases = { - ssh = "TERM=xterm ssh"; }; functions = { # Disable greeting fish_greeting = ""; + ssh = "TERM=xterm command ssh $argv"; # Rebuild home-manager switch-home = "home-manager switch -b backup --flake ${config.home.homeDirectory}/.dotfiles#$USER@$(hostname -s)"; };