From 7a511b3e137245c447788b6937793d146da5052c Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Sat, 21 Aug 2021 17:39:43 -0600 Subject: [PATCH] [NixOS] Add df_ssh --- nixos/environment.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/nixos/environment.nix b/nixos/environment.nix index b64cec91..dd68e310 100644 --- a/nixos/environment.nix +++ b/nixos/environment.nix @@ -38,8 +38,11 @@ with lib; environment = { homeBinInPath = true; localBinInPath = true; + shellAliases = { + df_ssh = "TERM='xterm-256color ssh -o StrictHostKeyChecking=no'"; + }; interactiveShellInit = '' - vterm_printf(){ + vterm_printf(){ if [ -n "$TMUX" ] && ([ "''${TERM%%-*}" = "tmux" ] || [ "''${TERM%%-*}" = "screen" ] ); then # Tell tmux to pass the escape sequences through printf "\ePtmux;\e\e]%s\007\e\\" "$1"