mirror of
https://github.com/fscotto/infra.git
synced 2026-09-27 19:03:47 +00:00
Remove FreeBSD profile
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user