summaryrefslogtreecommitdiff
path: root/noncore/apps/opie-reader/setws.sh
Side-by-side diff
Diffstat (limited to 'noncore/apps/opie-reader/setws.sh') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/apps/opie-reader/setws.sh27
1 files changed, 27 insertions, 0 deletions
diff --git a/noncore/apps/opie-reader/setws.sh b/noncore/apps/opie-reader/setws.sh
new file mode 100644
index 0000000..61aeccb
--- a/dev/null
+++ b/noncore/apps/opie-reader/setws.sh
@@ -0,0 +1,27 @@
+red='\e[0;31m'
+RED='\e[1;31m'
+blue='\e[0;34m'
+BLUE='\e[1;34m'
+cyan='\e[0;36m'
+CYAN='\e[1;36m'
+NC='\e[0m' # No Color
+
+if test -z $OLDPATH; then
+ export OLDPATH=$PATH
+fi
+
+if test -z $OLD_LD_LIBRARY_PATH; then
+ export OLD_LD_LIBRARY_PATH=$LD_LIBRARY_PATH
+fi
+
+export QPEDIR=/opt/Qtopia
+export QTDIR=/opt/Qtopia
+export PATH=$QTDIR/bin:$OLDPATH
+export TMAKEPATH=/opt/Qtopia/tmake/lib/qws/linux-generic-g++
+export LD_LIBRARY_PATH=$QTDIR/lib:$OLD_LD_LIBRARY_PATH
+
+#PS1="[${cyan}\T$NC][${RED}Laptop${NC}]\W> "
+#PS1="[${RED}Laptop${NC}]\W> "
+PS1="[Laptop]\W> "
+
+echo -e \\n${RED}Laptop${NC} environment configured\\n