summaryrefslogtreecommitdiffstats
path: root/clerk_fzf
diff options
context:
space:
mode:
Diffstat (limited to 'clerk_fzf')
-rwxr-xr-xclerk_fzf/clerk_update11
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