mirror of
https://github.com/xHyroM/dotfiles.git
synced 2024-11-22 14:41:05 +01:00
add some bashrc stuff
This commit is contained in:
parent
b95de4c77e
commit
f83681eb13
1 changed files with 27 additions and 1 deletions
28
.bashrc
28
.bashrc
|
@ -6,12 +6,38 @@
|
||||||
# Aliases
|
# Aliases
|
||||||
alias ls="lsd"
|
alias ls="lsd"
|
||||||
alias cat="bat"
|
alias cat="bat"
|
||||||
|
alias s="kitten ssh"
|
||||||
|
|
||||||
PS1='[\u@\h \W]\$ '
|
PS1='[\u@\h \W]\$ '
|
||||||
|
|
||||||
eval "$(starship init bash)"
|
eval "$(starship init bash)"
|
||||||
source ~/.local/share/blesh/ble.sh
|
source ~/.local/share/blesh/ble.sh
|
||||||
|
complete -cf doas # doas completions
|
||||||
|
|
||||||
# bun
|
# bun
|
||||||
export BUN_INSTALL="$HOME/.bun"
|
export BUN_INSTALL="$HOME/.bun"
|
||||||
export PATH=$BUN_INSTALL/bin:$PATH:~/.local/bin:~/go/bin
|
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
|
||||||
|
|
Loading…
Reference in a new issue