dotfiles/.bashrc

47 lines
972 B
Bash
Raw Normal View History

2024-03-29 20:07:10 +01:00
# .bashrc
# If not running interactively, don't do anything
[[ $- != *i* ]] && return
2024-06-15 09:43:22 +02:00
# Aliases
alias ls="lsd"
alias cat="bat"
2024-07-27 22:31:18 +02:00
alias s="kitten ssh"
2024-06-15 09:43:22 +02:00
2024-03-29 20:07:10 +01:00
PS1='[\u@\h \W]\$ '
eval "$(starship init bash)"
2024-03-29 21:51:22 +01:00
source ~/.local/share/blesh/ble.sh
2024-07-27 22:31:18 +02:00
complete -cf doas # doas completions
2024-03-31 20:24:13 +02:00
# bun
export BUN_INSTALL="$HOME/.bun"
2024-07-27 22:31:18 +02:00
export PATH=$BUN_INSTALL/bin:$PATH:~/.local/bin:~/go/bin:~/.wakatime
. "$HOME/.cargo/env"
# rbenv
export PATH="/home/hyro/.rbenv/shims:${PATH}"
export RBENV_SHELL=bash
command rbenv rehash 2>/dev/null
rbenv() {
local command
command="${1:-}"
if [ "$#" -gt 0 ]; then
shift
fi
case "$command" in
rehash|shell)
eval "$(rbenv "sh-$command" "$@")";;
*)
command rbenv "$command" "$@";;
esac
}
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
2024-08-08 12:31:06 +02:00
# moon
export PATH="$HOME/.moon/bin:$PATH"