diff options
author | Rasmus Steinke <rasi@xssn.at> | 2015-09-07 17:31:08 +0200 |
---|---|---|
committer | Rasmus Steinke <rasi@xssn.at> | 2015-09-07 17:31:08 +0200 |
commit | 922e062e696fea2b81210797b19e4f0412deca12 (patch) | |
tree | 7fffa65e4952feacad4f902e6b44af9ce1fd0c02 /clerk | |
parent | 5c2fbe40b7745d935ece2c833a210ce118521124 (diff) | |
download | perl-app-clerk-922e062e696fea2b81210797b19e4f0412deca12.tar.gz perl-app-clerk-922e062e696fea2b81210797b19e4f0412deca12.tar.xz |
properly export mpd_host
Diffstat (limited to 'clerk')
-rwxr-xr-x | clerk | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -95,14 +95,14 @@ fi if [[ -n $mpd_host ]]; then if [[ -n $mpd_password ]]; then - MPD_HOST="${mpd_password}@${mpd_host}" + export MPD_HOST="${mpd_password}@${mpd_host}" else - MPD_HOST="${mpd_host}" + export MPD_HOST="${mpd_host}" fi fi if [[ -n $mpd_port ]]; then - MPD_PORT="${mpd_port}" + export MPD_PORT="${mpd_port}" fi # check for scrobbler @@ -220,6 +220,7 @@ dplayPrompt () { -kb-custom-6 ${tracklist} \ -kb-custom-7 ${queue} \ -kb-custom-8 ${seek} \ + -only-match \ -p "clerk > ") val=$? |