summaryrefslogtreecommitdiff
blob: 0fa5243a5df0b7fc68cd4af5ca2c37f659f37de6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/sh

# CommanderGenius by default searches pwd for keen data which can cause
# massive load/lag depending on which dir you are currently in.
# This wrapper cd's into ~/.CommanderGenius unless you pass a directory
# on the command line which is used as additional search path then.
#
# use: commandergenius [path-to-keen-dir]

if [ -z $1 ] ; then
	SEARCHDIR=~/.CommanderGenius
else
	SEARCHDIR="$1"
fi

cd ${SEARCHDIR}

exec CommanderGenius "$@"