remove exherbo remnants from zshrc

This commit is contained in:
Martin Sekera 2019-01-13 13:25:55 +01:00
parent e631cc2c62
commit 3d0fcc071a

View file

@ -24,8 +24,6 @@ alias usystemctl="systemctl --user"
alias battery="upower -i /org/freedesktop/UPower/devices/battery_BAT0"
alias pp=python2
alias ppp=python3
alias cs="cave search --index /var/db/paludis/search.idx"
alias csh="cave show -c"
# apparently this is the only way of setting GNU Screen to UTF-8
alias screen="screen -U"
@ -86,9 +84,8 @@ kill_screens () {
done
}
# winetricks tools
wt-prefix() {
wt-prefix () {
export WINEPREFIX="$HOME/.local/share/wineprefixes/$1"
grep "#arch=win32" "${WINEPREFIX}/system.reg" > /dev/null
@ -100,24 +97,24 @@ wt-prefix() {
fi
}
wt-goto_c() {
wt-goto_c () {
cd $WINEPREFIX/drive_c
}
wt-list_prefixes() {
wt-list_prefixes () {
ls $* $HOME/.local/share/wineprefixes/
}
cds() {
cd /mnt/storage/$USER/$1
cds () {
cd /mnt/data/$USER/$1
}
http-dir() {
http-dir () {
echo "Serving $PWD on 0.0.0.0:55555"
/usr/sbin/thttpd -T utf-8 -D -d . -p 55555 -l -
}
swap-files() {
swap-files () {
TMP=.swap-files.tmp
mv "$1" "$TMP" && mv "$2" "$1" && mv "$TMP" "$2"
}
@ -221,7 +218,3 @@ bindkey "\eOH" beginning-of-line
bindkey "\eOF" end-of-line
bindkey "\eOd" backward-word
bindkey "\eOc" forward-word
# paludis default options
export CAVE_OPTIONS="--log-level warning"
export CAVE_RESOLVE_OPTIONS="--reinstall-scm weekly --show-descriptions new --continue-on-failure if-satisfied"