forked from colonelpanic/dotfiles
[NixOS] Add df_ssh
This commit is contained in:
parent
8bd0b1cb10
commit
7a511b3e13
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user