cnc: Add support for loading cnc from its default location

This commit is contained in:
Salt 2018-10-12 01:01:19 -05:00
parent 48761983ef
commit 482622fab8

3
cnc
View File

@ -1,4 +1,7 @@
#!/bin/sh
if [ -z ${CNC_HOME+x} ]; then
export CNC_HOME="$HOME/.concession"
fi
if [ -x "$CNC_HOME/cnc" ]; then
exec "$CNC_HOME/cnc" "$@"
else