X-Git-Url: https://iankelling.org/git/?p=distro-setup;a=blobdiff_plain;f=ssh-emacs-setup;h=65679fde3459fc7f6b833cfe52b70e99cf7573bb;hp=80976f056df0eb22e1f135f42e4b6c4b180d6de6;hb=7d5e9e87105fafa2243603f958c8b41cdaa7f0ad;hpb=32a1673064cfd9eaa165b4ea62fa416f02f3dfd2 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