[NixOS] Add df_ssh
This commit is contained in:
parent
8bd0b1cb10
commit
7a511b3e13
@ -38,8 +38,11 @@ with lib;
|
|||||||
environment = {
|
environment = {
|
||||||
homeBinInPath = true;
|
homeBinInPath = true;
|
||||||
localBinInPath = true;
|
localBinInPath = true;
|
||||||
|
shellAliases = {
|
||||||
|
df_ssh = "TERM='xterm-256color ssh -o StrictHostKeyChecking=no'";
|
||||||
|
};
|
||||||
interactiveShellInit = ''
|
interactiveShellInit = ''
|
||||||
vterm_printf(){
|
vterm_printf(){
|
||||||
if [ -n "$TMUX" ] && ([ "''${TERM%%-*}" = "tmux" ] || [ "''${TERM%%-*}" = "screen" ] ); then
|
if [ -n "$TMUX" ] && ([ "''${TERM%%-*}" = "tmux" ] || [ "''${TERM%%-*}" = "screen" ] ); then
|
||||||
# Tell tmux to pass the escape sequences through
|
# Tell tmux to pass the escape sequences through
|
||||||
printf "\ePtmux;\e\e]%s\007\e\\" "$1"
|
printf "\ePtmux;\e\e]%s\007\e\\" "$1"
|
||||||
|
Loading…
Reference in New Issue
Block a user