diff options
author | Rasmus Steinke <rasi@xssn.at> | 2016-08-16 01:24:15 +0200 |
---|---|---|
committer | Rasmus Steinke <rasi@xssn.at> | 2016-08-16 01:24:15 +0200 |
commit | 875963bcae095ac1db174627183c76ebe165f787 (patch) | |
tree | 0349466047d56d562e0e57d374d088c9e73c3b39 /clerk_fzf | |
parent | e9b11ac45cb2fef5092a59ee7ed64259163fe8b8 (diff) | |
download | perl-app-clerk-875963bcae095ac1db174627183c76ebe165f787.tar.gz perl-app-clerk-875963bcae095ac1db174627183c76ebe165f787.tar.xz |
check config
Diffstat (limited to 'clerk_fzf')
-rwxr-xr-x | clerk_fzf/clerk_update | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/clerk_fzf/clerk_update b/clerk_fzf/clerk_update index 319b7b9..0dca425 100755 --- a/clerk_fzf/clerk_update +++ b/clerk_fzf/clerk_update @@ -2,6 +2,17 @@ TMUX_TMPDIR="/tmp/clerk/tmux" +# read global config +if [[ -f "/etc/clerk_fzf.conf" ]]; then + source /etc/clerk_fzf.conf +fi + +# read user config +if [[ -f "$HOME/.config/clerk/clerk_fzf.conf" ]]; then + source $HOME/.config/clerk/clerk_fzf.conf +fi + + screen=$(tmux list-panes -F "#W") if [[ $1 == "--create-caches" ]]; then |