27 lines
706 B
Bash
27 lines
706 B
Bash
# If not running interactively, don't do anything
|
|
[[ $- != *i* ]] && return
|
|
|
|
# SOURCES
|
|
source /usr/share/git/completion/git-completion.bash
|
|
source $HOME/.config/bash-wakatime/bash-wakatime.sh
|
|
|
|
export GPG_TTY=$(tty)
|
|
|
|
# ALIASES
|
|
alias ls='ls --color=auto'
|
|
alias df='df -h'
|
|
alias du='du -h'
|
|
alias ..='cd ..'
|
|
|
|
alias tardir='tar -czf "../${PWD##*/}.tar.gz"' # tar.gz current dir
|
|
alias pacman-orphaned='pacman -Rns $(pacman -Qtdq)' # delete orphaned packages (Arch Linux)
|
|
|
|
# NVM
|
|
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:$HOME/.bin"
|
|
|
|
# StarShip
|
|
eval "$(starship init bash)"
|