dot

packages and services management
Log | Files | Refs | README

commit 617729d9061585086a02d4148170ac9a73452e72
parent 47a62fd2eb782751e270cfc1ec924143650e60de
Author: josuah <mail@josuah.net>
Date:   Tue,  1 Nov 2016 17:33:37 -0400

quick commit

Diffstat:
Mdvtm/dvtm-status | 1+
Mshell/.profile | 8++++----
Mtmux/.tmux.conf | 3+--
3 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/dvtm/dvtm-status b/dvtm/dvtm-status @@ -8,6 +8,7 @@ export CMD_FIFO="/tmp/dvtm-cmd.$$" while true do + printf '\n' status sleep 10 done > "$STATUS_FIFO" & diff --git a/shell/.profile b/shell/.profile @@ -36,10 +36,10 @@ ps1() # terminal name printf '\033]0;%s %s\007' "$pwd" + status_line + # prompt printf '\n \033[1;30m>\033[0;%sm>\033[1m>\033[0m ' "$color" - - status_line } status_line() @@ -47,8 +47,8 @@ status_line() local pwd="$(pwd)" [ -z "${pwd##$HOME*}" ] && pwd="~${pwd#$HOME}" - printf '\033[s\033[0;0H\033[K' - printf '\r %s %s\n\033[K\033[u' "$pwd" "$(git_status)" + printf '\n\n\033[s\033[0;0H\033[K' + printf '\r %s %s\n\033[K\033[u\033[2A' "$pwd" "$(git_status)" } git_status() diff --git a/tmux/.tmux.conf b/tmux/.tmux.conf @@ -110,8 +110,7 @@ set -g status-left "#[fg=black,bg=white] #S #[default] " # Right set -g status-right-length 100 set -g status-right-style fg=white -set -g status-right \ - " #(~/.config/tmux/status dir git mail clock)" +set -g status-right "#(status)" set -g window-status-separator " "