diff options
| author | Teddy Wing | 2016-07-22 01:51:46 -0400 |
|---|---|---|
| committer | Teddy Wing | 2016-07-22 01:51:46 -0400 |
| commit | 950c61432dd973bb0ba2c19a0483740d9e1f7d01 (patch) | |
| tree | 88d79ab5c554e391608e261c1ccb8d7f22a90b78 | |
| parent | 80504f6387f9bb2e831588e7ce933ef6f78383dd (diff) | |
| download | qcd-950c61432dd973bb0ba2c19a0483740d9e1f7d01.tar.bz2 | |
qcd: Run initial setup
In addition to creating the config directory, also touch the database
file to ensure it exists before we query it with `awk` in
`shortcut_exists`.
| -rwxr-xr-x | qcd | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -24,6 +24,7 @@ __EOF__ function setup () { mkdir -p $QCD_CONFIG_DIR + touch $QCD_DATABASE_FILE } function absolute_path () { @@ -85,7 +86,7 @@ function qcd () { return fi - # setup + setup local command=$1 local shortcut=$2 |
