Skip to content

Commit 5903f50

Browse files
committed
Move tmuxline to tmuxline.conf.
1 parent ac8a46f commit 5903f50

File tree

4 files changed

+5
-4
lines changed

4 files changed

+5
-4
lines changed

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@ $ wget https://git.io/vJAz3 -O - | sh
4343
if-shell "test -f $HOME/.tmux/plugins/tmuxrc/plugins.conf" "source $HOME/.tmux/plugins/tmuxrc/plugins.conf"
4444
if-shell "test ! -f $HOME/.tmux/plugins/tmuxrc/plugins.conf" "set -g @tpm_plugins 'tmux-plugins/tpm rxrc/tmuxrc'"
4545
run-shell '$HOME/.tmux/plugins/tpm/tpm'
46-
if-shell "test -f $HOME/.tmuxline.conf" "source $HOME/.tmuxline.conf"
4746
```
4847

4948
3. Install with
@@ -64,7 +63,7 @@ Alternatively, you can run the commands listed in the Manual Install section.
6463

6564
## tmuxline.vim
6665

67-
This configuration will load `~/.tmuxline.zsh`
66+
If found, this configuration will load `~/.tmuxline.zsh`
6867
which can be generated or updated using [tmuxline.vim]
6968
by running `:TmuxlineSnapshot! ~/.tmuxline.conf`
7069
from Vim inside a tmux session.

install.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@ tee $HOME/.tmux.conf >/dev/null <<EOF
4747
if-shell "test -f \$HOME/.tmux/plugins/tmuxrc/plugins.conf" "source \$HOME/.tmux/plugins/tmuxrc/plugins.conf"
4848
if-shell "test ! -f \$HOME/.tmux/plugins/tmuxrc/plugins.conf" "set -g @tpm_plugins 'tmux-plugins/tpm rxrc/tmuxrc'"
4949
run-shell '\$HOME/.tmux/plugins/tpm/tpm'
50-
if-shell "test -f \$HOME/.tmuxline.conf" "source \$HOME/.tmuxline.conf"
5150
EOF
5251

5352
echo -e "\033[32m ✔ Installed ❰ ~/.tmux.conf ❱ \033[0m"

plugin/tmuxline.conf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
if-shell "test -f $HOME/.tmuxline.conf" "source $HOME/.tmuxline.conf"

tmuxrc.tmux

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
1-
set -g default-terminal 'screen-256color'
1+
plugin_path=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
2+
3+
tmux source-file $plugin_path/plugin/tmuxline.conf

0 commit comments

Comments
 (0)