From 14d536d5830a415485886db83478cdd47f9ba086 Mon Sep 17 00:00:00 2001 From: Bruno Miguel Silva Date: Sun, 12 Jan 2014 23:09:55 +0000 Subject: [PATCH] fixed bug in finding hostname --- bash/bash_profile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bash/bash_profile b/bash/bash_profile index d4846d0..0870c41 100644 --- a/bash/bash_profile +++ b/bash/bash_profile @@ -14,7 +14,7 @@ alias ls='ls -G' alias ll='ls -lG' if [[ -r $HOME/.host_nickname ]]; then - HOST_NICKNAME=`cat .host_nickname` + HOST_NICKNAME=`cat ${HOME}/.host_nickname` else HOST_NICKNAME=`hostname -s` fi