* starship - simplified report format line and placed on the left top before prompt
* # character prompt by default * tmux styled and smart tab naming + vim toml plugin
This commit is contained in:
9
.bashrc
9
.bashrc
@ -73,3 +73,12 @@ function right_prompt(){
|
||||
starship_precmd_user_func="right_prompt"
|
||||
|
||||
eval "$(starship init bash)"
|
||||
|
||||
# Prepare LC_ALL for correct fonts rendering in tmux
|
||||
export LC_ALL=en_US.UTF-8
|
||||
export LANG=ru_RU.UTF-8
|
||||
|
||||
# auto into tmux session
|
||||
if [[ -n "$PS1" ]] && [[ -z "$TMUX" ]] && [[ -n "$SSH_CONNECTION" ]]; then
|
||||
sudo tmux attach || sudo tmux
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user