Skip to content

Commit

Permalink
Fixed PS1 prompt in BASH, tmux session number and zprofile
Browse files Browse the repository at this point in the history
  • Loading branch information
rsherstnev committed Oct 5, 2024
1 parent b332cbb commit 50a5ae6
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion bash/.bashrc
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ if [ "$color_prompt" = yes ]; then
PS1="${_ROOT_WARNING}!!! ROOT !!! ${_COLOR_RESET}[${_COLOR1}\u${_COLOR2}${_COLOR3}\H ${_COLOR4}\w${_COLOR_RESET}]\n\\$ "
fi
else
PS1='[\u@\H \w]\$ '
PS1="[\u@\H \w]\n\\$ "
fi
unset color_prompt force_color_prompt

Expand Down
2 changes: 1 addition & 1 deletion tmux/.tmux.conf
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ set -g status-position top
# Статусбар
set -g status-left-length 30
set -g status-left "#[fg=colour16,bg=colour220] #S #[fg=default,bg=default] "
set -g status-left "#[fg=colour16,bg=colour220] #S #[fg=default,bg=default] "
set -g status-right-length 45
set -g status-right "#[fg=colour0,bg=colour109]#(/opt/scripts/vpn_ip.sh)#[fg=colour0,bg=colour109] %H:%M:%S %d.%m.%Y "
set -g status-style "bg=default fg=colour107"
Expand Down
1 change: 0 additions & 1 deletion zsh/.zprofile
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# Created by `pipx` on 2023-12-17 19:19:30
export PATH="$PATH:/root/.local/bin"

export PYENV_ROOT="$HOME/.pyenv"
Expand Down

0 comments on commit 50a5ae6

Please sign in to comment.