aboutsummaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rw-r--r--config/defaults.sh5
-rw-r--r--config/helpers.sh9
-rw-r--r--config/paths.sh12
-rw-r--r--config/shell.sh20
4 files changed, 0 insertions, 46 deletions
diff --git a/config/defaults.sh b/config/defaults.sh
deleted file mode 100644
index bc79496..0000000
--- a/config/defaults.sh
+++ /dev/null
@@ -1,5 +0,0 @@
-# Default values for non segment configuration options.
-
-export TMUX_POWERLINE_DEBUG_MODE_ENABLED_DEFAULT="false"
-export TMUX_POWERLINE_PATCHED_FONT_IN_USE_DEFAULT="true"
-export TMUX_POWERLINE_THEME_DEFAULT="default"
diff --git a/config/helpers.sh b/config/helpers.sh
deleted file mode 100644
index caba053..0000000
--- a/config/helpers.sh
+++ /dev/null
@@ -1,9 +0,0 @@
-# Other settings and helper functions.
-
-debug_mode_enabled() {
- [ -n "$TMUX_POWERLINE_DEBUG_MODE_ENABLED" -a "$TMUX_POWERLINE_DEBUG_MODE_ENABLED" != "false" ];
-}
-
-patched_font_in_use() {
- [ -z "$TMUX_POWERLINE_PATCHED_FONT_IN_USE" -o "$TMUX_POWERLINE_PATCHED_FONT_IN_USE" != "false" ];
-}
diff --git a/config/paths.sh b/config/paths.sh
deleted file mode 100644
index bf72be3..0000000
--- a/config/paths.sh
+++ /dev/null
@@ -1,12 +0,0 @@
-# Paths
-
-export TMUX_POWERLINE_DIR_LIB="$TMUX_POWERLINE_DIR_HOME/lib"
-export TMUX_POWERLINE_DIR_SEGMENTS="$TMUX_POWERLINE_DIR_HOME/segments"
-export TMUX_POWERLINE_DIR_TEMPORARY="/tmp/tmux-powerline_${USER}"
-export TMUX_POWERLINE_DIR_THEMES="$TMUX_POWERLINE_DIR_HOME/themes"
-export TMUX_POWERLINE_RCFILE="$HOME/.tmux-powerlinerc"
-export TMUX_POWERLINE_RCFILE_DEFAULT="$HOME/.tmux-powerlinerc.default"
-
-if [ ! -d "$TMUX_POWERLINE_DIR_TEMPORARY" ]; then
- mkdir "$TMUX_POWERLINE_DIR_TEMPORARY"
-fi
diff --git a/config/shell.sh b/config/shell.sh
deleted file mode 100644
index d24bcf8..0000000
--- a/config/shell.sh
+++ /dev/null
@@ -1,20 +0,0 @@
-# Shell Configuration
-# vi: sw=8 ts=8 noet
-
-ostype() { echo $OSTYPE | tr '[A-Z]' '[a-z]'; }
-
-export SHELL_PLATFORM='unknown'
-
-case "$(ostype)" in
- *'linux'* ) SHELL_PLATFORM='linux' ;;
- *'darwin'* ) SHELL_PLATFORM='osx' ;;
- *'bsd'* ) SHELL_PLATFORM='bsd' ;;
-esac
-
-shell_is_linux() { [[ $SHELL_PLATFORM == 'linux' || $SHELL_PLATFORM == 'bsd' ]]; }
-shell_is_osx() { [[ $SHELL_PLATFORM == 'osx' ]]; }
-shell_is_bsd() { [[ $SHELL_PLATFORM == 'bsd' || $SHELL_PLATFORM == 'osx' ]]; }
-
-export -f shell_is_linux
-export -f shell_is_osx
-export -f shell_is_bsd