add starship

This commit is contained in:
Alexander Popov 2021-08-29 20:07:09 +03:00
parent 5858e66774
commit cfe720b201
2 changed files with 15 additions and 1 deletions

View File

@ -7,7 +7,7 @@ source $HOME/.config/bash-wakatime/bash-wakatime.sh
# PS1 # PS1
ENDCOLOR="\e[m" ENDCOLOR="\e[m"
PS1="\e[36m\h${ENDCOLOR} \e[35m\W${ENDCOLOR} \$> " # PS1="\e[36m\h${ENDCOLOR} \e[35m\W${ENDCOLOR} \$> "
# ALIASES # ALIASES
alias ls='ls --color=auto' alias ls='ls --color=auto'
@ -22,3 +22,6 @@ export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" [ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion"
export PATH="$PATH;node_modules/.bin" export PATH="$PATH;node_modules/.bin"
# StarShip
eval "$(starship init bash)"

View File

@ -20,3 +20,14 @@ Make sure your [API Key](https://wakatime.com/settings/api-key) is in your `~/.w
Need WakaTime install [in system](https://github.com/wakatime/vscode-wakatime/issues/146#issuecomment-895506716) by sudo. Need WakaTime install [in system](https://github.com/wakatime/vscode-wakatime/issues/146#issuecomment-895506716) by sudo.
Installing to `$HOME/.local/bin` [not working](https://github.com/wakatime/vscode-wakatime/issues/146). Installing to `$HOME/.local/bin` [not working](https://github.com/wakatime/vscode-wakatime/issues/146).
## StarShip
```bash
pacman -S starship
```
```bash
# ~/.bashrc
eval "$(starship init bash)"
```