aboutsummaryrefslogtreecommitdiff
path: root/generate_rc.sh
diff options
context:
space:
mode:
Diffstat (limited to 'generate_rc.sh')
-rwxr-xr-xgenerate_rc.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/generate_rc.sh b/generate_rc.sh
new file mode 100755
index 0000000..33e16b7
--- /dev/null
+++ b/generate_rc.sh
@@ -0,0 +1,11 @@
+#!/usr/bin/env bash
+# Generate default rc file.
+
+export TMUX_POWERLINE_DIR_HOME="$(dirname $0)"
+source "${TMUX_POWERLINE_DIR_HOME}/config/paths.sh"
+source "${TMUX_POWERLINE_DIR_HOME}/config/defaults.sh"
+source "${TMUX_POWERLINE_DIR_LIB}/rcfile.sh"
+
+generate_default_rc
+
+exit 0