Remove FreeBSD profile

This commit is contained in:
Fabio Scotto di Santolo
2026-08-31 21:38:13 +02:00
parent 45340103d0
commit 6296925f2d
10 changed files with 5 additions and 129 deletions

View File

@@ -1,20 +1,10 @@
# =========================
# Portable Bash config
# Target: Void Linux + FreeBSD
# =========================
# Exit if not interactive
[[ $- != *i* ]] && return
# --- environment detection
case "$(uname -s)" in
Linux) PLATFORM="linux" ;;
FreeBSD) PLATFORM="freebsd" ;;
*) PLATFORM="other" ;;
esac
export PLATFORM
# --- history
HISTSIZE=10000
HISTFILESIZE=20000
@@ -438,15 +428,10 @@ extract() {
}
# =========================
# OS-specific small touches
# Small touches
# =========================
if [ "$PLATFORM" = "freebsd" ]; then
alias df='df -h'
alias du='du -h'
elif [ "$PLATFORM" = "linux" ]; then
alias df='df -h'
alias du='du -h'
fi
alias df='df -h'
alias du='du -h'
[ -r "$HOME/.bashrc.aliases" ] && . "$HOME/.bashrc.aliases"