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
This commit is contained in:
pascal 2008-10-06 20:33:51 +00:00
parent 8a4f3a1671
commit e2b0d94c5a
2 changed files with 4 additions and 4 deletions

View file

@ -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}"

View file

@ -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}"