1
0
mirror of https://github.com/meineerde/dotfiles.git synced 2025-10-17 19:41:01 +00:00

Remove old unused aliases

This commit is contained in:
Holger Just 2025-01-20 22:46:35 +01:00
parent 2f7155fa24
commit b335211fe5

26
.bashrc
View File

@ -77,29 +77,6 @@ fi
# OS specific config. # OS specific config.
case `uname` in case `uname` in
Darwin) Darwin)
export PG_DATA=/usr/local/var/postgres
gitx() {
if [ -x /usr/local/bin/gittower ]; then
/usr/local/bin/gittower $@
else
open -a GitX $@
fi
}
alias gx=gitx
pdfman() { man -t $1 | open -a /Applications/Skim.app -f; }
# Set the JAVA_HOME environment variable to the correct versob
jhome() {
if [ "$#" -ge 1 ]; then
export JAVA_HOME="$(/usr/libexec/java_home -v "$@")"
else
export JAVA_HOME="$(/usr/libexec/java_home)"
fi
echo "JAVA_HOME:" "$JAVA_HOME"
java -version
}
# Homebrew # Homebrew
[[ -x /usr/local/bin/brew ]] && eval "$(/usr/local/bin/brew shellenv)" [[ -x /usr/local/bin/brew ]] && eval "$(/usr/local/bin/brew shellenv)"
[[ -x /opt/homebrew/bin/brew ]] && eval "$(/opt/homebrew/bin/brew shellenv)" [[ -x /opt/homebrew/bin/brew ]] && eval "$(/opt/homebrew/bin/brew shellenv)"
@ -108,9 +85,10 @@ case `uname` in
if [[ -r "${HOMEBREW_PREFIX}/etc/profile.d/bash_completion.sh" ]]; then if [[ -r "${HOMEBREW_PREFIX}/etc/profile.d/bash_completion.sh" ]]; then
source "${HOMEBREW_PREFIX}/etc/profile.d/bash_completion.sh" source "${HOMEBREW_PREFIX}/etc/profile.d/bash_completion.sh"
fi fi
alias ls='ls -G'
;; ;;
Linux) Linux)
PATH=$PATH:/var/lib/gems/1.8/bin:/var/lib/gems/1.9/bin
alias ls='ls --color=auto' alias ls='ls --color=auto'
;; ;;
esac esac