diff --git a/bashrc b/bashrc index 0331550..7ccfec2 100644 --- a/bashrc +++ b/bashrc @@ -34,10 +34,10 @@ prompt_command() { case ${TERM} in rxvt*|st*|xterm*) - printf "\033]0;%s@%s\007" "${USER}" "${HOSTNAME%%.*}" + printf "\033]0;%s\007" "${HOSTNAME%%.*}" ;; screen*|tmux*) - printf "\033k%s@%s\033\\" "${USER}" "${HOSTNAME%%.*}" + printf "\033k%s\033\\" "${HOSTNAME%%.*}" ;; esac if ((UID)); then diff --git a/tmux.conf b/tmux.conf index f366719..c4581bd 100644 --- a/tmux.conf +++ b/tmux.conf @@ -1,7 +1,5 @@ unbind C-b bind C-g send-prefix -bind s split-window -v -bind v split-window -h bind h select-pane -L bind j select-pane -D bind k select-pane -U @@ -19,9 +17,9 @@ bind -n M-q previous-window bind -n M-j next-window bind -n M-k previous-window bind -n M-` last-window -set -g update-environment "DISPLAY SSH_ASKPASS SSH_AGENT_PID SSH_CONNECTION WINDOWID XAUTHORITY" -set -g allow-rename off set -g prefix C-g +set -g update-environment "DISPLAY SSH_ASKPASS SSH_AGENT_PID SSH_CONNECTION WINDOWID XAUTHORITY" +set -g allow-rename on set -g mode-keys "vi" set -g set-titles "on" set -g set-titles-string "[#h:#S] #W" @@ -34,8 +32,8 @@ set -g status-position "bottom" set -g status-justify "left" set -g status-left-length "100" set -g status-right-length "100" -set -g pane-border-style "bg=default,fg=colour249" -set -g pane-active-border-style "bg=default,fg=colour88" +set -g pane-border-style "fg=colour249" +set -g pane-active-border-style "fg=colour88" set -g status-style "bg=colour244" set -g message-style "bg=colour88,fg=colour255" set -g window-status-style "bg=colour244,fg=colour255" diff --git a/zshrc b/zshrc index 05418eb..c70c082 100644 --- a/zshrc +++ b/zshrc @@ -76,10 +76,10 @@ PROMPT4='%b%f+%N:%i%(!.%F{red}.%F{black})>%f%b ' precmd.title() { case $TERM in st*|xterm*|rxvt*) - printf "\033]0;%s@%s\007" $USER ${HOST%%.*} + printf "\033]0;%s\007" ${HOST%%.*} ;; screen*|tmux*) - printf "\033k%s@%s\033\\" $USER ${HOST%%.*} + printf "\033k%s\033\\" ${HOST%%.*} ;; esac }