]> git.nbdom.net Git - nb.git/commitdiff
shell_slogin
authorNicolas Boisselier <nicolas.boisselier@gmail.com>
Mon, 27 Jul 2015 09:04:07 +0000 (10:04 +0100)
committerNicolas Boisselier <nicolas.boisselier@gmail.com>
Mon, 27 Jul 2015 09:04:07 +0000 (10:04 +0100)
etc/bashrc.function

index 475446f008f397990bf57b9f7676efdda617885a..b0ec6b54a245a246cfc4e5f777f8d10dcd0840d8 100644 (file)
@@ -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