mirror of
https://github.com/starr-dusT/dotfiles.git
synced 2025-02-19 19:27:31 -08:00
33 lines
678 B
Plaintext
33 lines
678 B
Plaintext
# ~/.bashrc
|
|
|
|
# Source global definitions
|
|
if [ -f /etc/bashrc ]; then
|
|
. /etc/bashrc
|
|
fi
|
|
|
|
# User specific environment
|
|
if ! [[ "$PATH" =~ "$HOME/.local/bin:$HOME/bin:" ]]
|
|
then
|
|
PATH="$HOME/.local/bin:$HOME/bin:$PATH"
|
|
fi
|
|
export PATH
|
|
|
|
export EDITOR="/usr/bin/nvim"
|
|
|
|
export NVM_DIR="$HOME/.nvm"
|
|
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
|
|
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
|
|
|
|
export PATH="$HOME/.nimble/bin:$PATH"
|
|
|
|
. "$HOME/.cargo/env"
|
|
|
|
alias spl="tmux_splat"
|
|
alias n="nnn -d -e -H -r"
|
|
|
|
# Chezmoi
|
|
alias cmc="chezmoi cd"
|
|
alias cmd="chezmoi apply --verbose --dry-run"
|
|
alias cma="chezmoi apply"
|
|
|