Commit 8576e3e8 authored by Dom Sekotill's avatar Dom Sekotill
Browse files

Fix .profile for non-bash shells

parent 7f13f0df
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -76,7 +76,7 @@ linux|xterm-256color)
		DARKGRAY=8
		WHITE=15
		BRIGHT=8
		echo ${!1}
		eval echo \$$1
	}

	setcolour ()
@@ -107,7 +107,7 @@ linux|xterm-256color)
				cur=bg
				;;
			*)
				val=$((${!cur} + `VT_CODE $1`))
				eval "val=\$((\$$cur + `VT_CODE $1`))"
				[ $cur = fg ] && fg=$val || bg=$val
				;;
			esac