punktdateien/lone-files/bashrc

20 lines
1.2 KiB
Bash

#!/bin/bash
export SDKMAN_DIR="$HOME/.sdkman"
[[ -s "$HOME/.sdkman/bin/sdkman-init.sh" ]] && source "$HOME/.sdkman/bin/sdkman-init.sh"
source "/usr/share/icons-in-terminal/icons_bash.sh"
source "${HOME}/.jstmbash/init.source"
eval "$(starship init bash)"
alias "fireplace=$(which fireplace) -f 60 -t 13"
alias "quote=fortune -s linux debian|cowsay"
alias "besseretests=godot --headless -d -v -s --path . addons/besseretests/src/cmd.gd"
alias "besseretests-gui=godot -d -v -s --path . addons/besseretests/src/cmd.gd"
alias "rm=rm -ri"
export "RUSTFLAGS=-Z threads=$(nproc)"
export "EDITOR=nano"
function cleanhome() {
echo ":: Cleaning ~"
rm -rf "${HOME}/.cache" "${HOME}/.dotnet" "${HOME}/.fltk" "${HOME}/.gradle" "${HOME}/.hyprland" "${HOME}/.java" "${HOME}/.npm" "${HOME}/.nuget" "${HOME}/.nvm" "${HOME}/.openjfx" "${HOME}/.pki" "${HOME}/.vnc" "${HOME}/.yarn" "${HOME}/go" "${HOME}/Android" "${HOME}/.android" "${HOME}/.lesshst" "${HOME}/.wget-hsts" "${HOME}/.yarnrc" "${HOME}/package-lock.json" "${HOME}/package.json" "${HOME}/node_modules" "${HOME}/.npmrc" "${HOME}/.gtkrc-2.0" "${HOME}/.electron-gyp" "${HOME}/.python_history" "${HOME}/.m2" "${HOME}/.mono"
}
quote
env "BASHRC=true" dotfiles-updatechecker