X-Git-Url: https://iankelling.org/git/?a=blobdiff_plain;f=ssh-emacs-setup;h=65679fde3459fc7f6b833cfe52b70e99cf7573bb;hb=a1ebefe19ab910d20fad0c2fd88637fee23dee7c;hp=80976f056df0eb22e1f135f42e4b6c4b180d6de6;hpb=95a4248e98e118024f5065636288406e8e8c9a30;p=distro-setup diff --git a/ssh-emacs-setup b/ssh-emacs-setup index 80976f0..65679fd 100755 --- a/ssh-emacs-setup +++ b/ssh-emacs-setup @@ -1,4 +1,4 @@ -#!/bin/bash -l +#!/bin/bash # Copyright (C) 2016 Ian Kelling # Licensed under the Apache License, Version 2.0 (the "License"); @@ -17,6 +17,8 @@ if [[ $EUID != 0 ]]; then sudo "$0" exit fi +if [[ -s ~/.bashrc ]];then . ~/.bashrc;fi + set -eE -o pipefail trap 'echo "$0:$LINENO:error: \"$BASH_COMMAND\" returned $?"' ERR