2023-12-08 17:33:11 +01:00
|
|
|
#!/bin/bash
|
|
|
|
|
2023-12-13 19:32:24 +01:00
|
|
|
export SDKMAN_DIR="$HOME/.sdkman"
|
|
|
|
[[ -s "$HOME/.sdkman/bin/sdkman-init.sh" ]] && source "$HOME/.sdkman/bin/sdkman-init.sh"
|
2023-12-08 17:33:11 +01:00
|
|
|
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"
|
2024-03-30 00:34:50 +01:00
|
|
|
alias "quote=fortune -s linux debian|cowsay"
|
|
|
|
alias "besseretests=godot --headless -d -v -s --path . addons/besseretests/src/cmd.gd"
|
2024-03-30 22:32:04 +01:00
|
|
|
alias "besseretests-gui=godot -d -v -s --path . addons/besseretests/src/cmd.gd"
|
2024-04-19 21:15:47 +02:00
|
|
|
alias "rm=rm -ri"
|
2024-04-19 21:16:01 +02:00
|
|
|
function osu-oszimport() {
|
|
|
|
if [ ! -f "${HOME}/.cache/osu.AppImage" ]; then
|
|
|
|
echo "--> Could not find ~/.cache/osu.AppImage"
|
|
|
|
echo " Please download and start osu! using osu!boot first."
|
|
|
|
else
|
|
|
|
for file in *.osz; do
|
|
|
|
if [ "${file}" == "*.osz" ]; then
|
|
|
|
echo "--> No .osz file has been found"
|
|
|
|
else
|
|
|
|
echo "--> Importing ${file}"
|
|
|
|
~/.cache/osu.AppImage "${file}"
|
|
|
|
fi
|
|
|
|
done
|
|
|
|
fi
|
|
|
|
}
|
2024-03-15 03:10:55 +01:00
|
|
|
export "RUSTFLAGS=-Z threads=$(nproc)"
|
2024-03-30 22:32:04 +01:00
|
|
|
export "EDITOR=nano"
|
2023-12-08 17:33:11 +01:00
|
|
|
function cleanhome() {
|
|
|
|
echo ":: Cleaning ~"
|
2024-03-30 00:34:50 +01:00
|
|
|
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"
|
2023-12-08 17:33:11 +01:00
|
|
|
}
|
|
|
|
quote
|
2023-12-13 19:32:24 +01:00
|
|
|
env "BASHRC=true" dotfiles-updatechecker
|