summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bashrc5
1 files changed, 3 insertions, 2 deletions
diff --git a/bashrc b/bashrc
index 6d32737..431e010 100644
--- a/bashrc
+++ b/bashrc
@@ -104,7 +104,8 @@ wrap_if_nonempty() {
define_ps1() {
termattr bold blue
date +%H:%M | tr -d '\n'
- local hostname="$(hostname)"
+ local hostname
+ hostname="$(hostname)"
case "$hostname" in
exolobe3)
printf ' \w '
@@ -217,5 +218,5 @@ if [ -e "$HOME/.cargo/env" ]; then
fi
if command -v pathdedup >/dev/null; then
- export PATH="$(pathdedup)"
+ PATH="$(pathdedup)"
fi