summaryrefslogtreecommitdiffstats
path: root/linux
diff options
context:
space:
mode:
authorpascal <pascal@b9310e46-f624-0410-8ea1-cfbb3a30dc96>2008-10-06 20:33:51 +0000
committerpascal <pascal@b9310e46-f624-0410-8ea1-cfbb3a30dc96>2008-10-06 20:33:51 +0000
commite2b0d94c5ae891262ee8a8424cd79bd6ce8ce478 (patch)
treee0834192b0609f7507124118fa6f1d70f83686a0 /linux
parent8a4f3a1671172c83a3c93d9948e069fa46736502 (diff)
HOME/neo als Standardverzeichnis für leichte Konfiguration als Anfänger oder am fremden Rechner
git-svn-id: https://svn.neo-layout.org@937 b9310e46-f624-0410-8ea1-cfbb3a30dc96
Diffstat (limited to '')
-rwxr-xr-xlinux/bin/neo4
-rwxr-xr-xlinux/bin/num4
2 files changed, 4 insertions, 4 deletions
diff --git a/linux/bin/neo b/linux/bin/neo
index 2753971..6104790 100755
--- a/linux/bin/neo
+++ b/linux/bin/neo
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/sh
if [ -f "${NEO_CONFIG}" ]; then
. "${NEO_CONFIG}" || die "Failed to source ${NEO_CONFIG}"
@@ -10,7 +10,7 @@ else
echo "No configuration file found. Using default values, this might fail!"
fi
-NEO_REFERENCE=${NEO_REFERENCE:-/usr/share/neo-layout/neo20-reference.txt}
+NEO_REFERENCE=${NEO_REFERENCE:-$HOME/neo/neo20.txt}
if [ 0 = $# ]; then
grep -m 1 -B 15 "┴──────┘" "${NEO_REFERENCE}"
diff --git a/linux/bin/num b/linux/bin/num
index 16ed8e9..98a0244 100755
--- a/linux/bin/num
+++ b/linux/bin/num
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/sh
if [ -f "${NEO_CONFIG}" ]; then
. "${NEO_CONFIG}" || die "Failed to source ${NEO_CONFIG}"
@@ -10,7 +10,7 @@ else
echo "No configuration file found. Using default values, this might fail!"
fi
-NEO_REFERENCE=${NEO_REFERENCE:-/usr/share/neo-layout/neo20-reference.txt}
+NEO_REFERENCE=${NEO_REFERENCE:-$HOME/neo/neo20.txt}
if [ 0 = $# ]; then
grep -m 1 -B 15 "┴───────┘" "${NEO_REFERENCE}"