add starship.toml and fix bashrc $PATH

This commit is contained in:
Alexander Popov 2021-12-31 04:33:37 +03:00
parent cf9a4d69f6
commit 74ee47b278
2 changed files with 6 additions and 2 deletions

View File

@ -6,7 +6,7 @@ source /usr/share/git/completion/git-completion.bash
source $HOME/.config/bash-wakatime/bash-wakatime.sh
# PS1
ENDCOLOR="\e[m"
# ENDCOLOR="\e[m"
# PS1="\e[36m\h${ENDCOLOR} \e[35m\W${ENDCOLOR} \$> "
# ALIASES
@ -21,7 +21,7 @@ alias pacman-orphaned='pacman -Rns $(pacman -Qtdq)' # delete orphaned packages (
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion"
export PATH="$PATH;node_modules/.bin"
export PATH="$PATH:node_modules/.bin:$HOME/.bin"
# StarShip
eval "$(starship init bash)"

4
Bash/starship.toml Normal file
View File

@ -0,0 +1,4 @@
# ~/.config/starship.toml
scan_timeout = 10
add_newline = false