From: Nicolas Boisselier Date: Mon, 27 Jul 2015 09:04:07 +0000 (+0100) Subject: shell_slogin X-Git-Url: https://git.nbdom.net/?a=commitdiff_plain;h=6b93c543d84a59271001857126b31466193e192e;p=nb.git shell_slogin --- diff --git a/etc/bashrc.function b/etc/bashrc.function index 475446f0..b0ec6b54 100644 --- a/etc/bashrc.function +++ b/etc/bashrc.function @@ -52,6 +52,7 @@ shell_slogin() { alias type $(shell_functions) | grep -v 'is a function$' cat $NB_ROOT/etc/bashrc + echo "[ -r /etc/profile ] && . /etc/profile" ) | ssh "$server" "cat > $tmp || rm -vf $tmp" || return declare args