2021-07-21 01:07:46 +03:00
|
|
|
# If not running interactively, don't do anything
|
|
|
|
[[ $- != *i* ]] && return
|
|
|
|
|
2021-08-09 23:11:20 +03:00
|
|
|
# SOURCES
|
2021-07-21 01:07:46 +03:00
|
|
|
source /usr/share/git/completion/git-completion.bash
|
2021-08-09 22:57:55 +03:00
|
|
|
source $HOME/.config/bash-wakatime/bash-wakatime.sh
|
|
|
|
|
2022-03-15 01:46:48 +03:00
|
|
|
export GPG_TTY=$(tty)
|
2021-07-21 01:07:46 +03:00
|
|
|
|
2021-08-09 23:11:20 +03:00
|
|
|
# ALIASES
|
2021-07-21 01:07:46 +03:00
|
|
|
alias ls='ls --color=auto'
|
|
|
|
alias df='df -h'
|
|
|
|
alias du='du -h'
|
2022-03-15 01:21:55 +03:00
|
|
|
alias ..='cd ..'
|
2021-07-21 01:07:46 +03:00
|
|
|
|
2021-08-08 10:02:23 +03:00
|
|
|
alias tardir='tar -czf "../${PWD##*/}.tar.gz"' # tar.gz current dir
|
|
|
|
alias pacman-orphaned='pacman -Rns $(pacman -Qtdq)' # delete orphaned packages (Arch Linux)
|
|
|
|
|
2021-08-09 23:11:20 +03:00
|
|
|
# NVM
|
2021-07-21 01:07:46 +03:00
|
|
|
export NVM_DIR="$HOME/.nvm"
|
2021-08-09 23:11:20 +03:00
|
|
|
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
|
|
|
|
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion"
|
2021-12-31 04:33:37 +03:00
|
|
|
export PATH="$PATH:node_modules/.bin:$HOME/.bin"
|
2021-08-29 20:07:09 +03:00
|
|
|
|
|
|
|
# StarShip
|
|
|
|
eval "$(starship init bash)"
|