From 3d0fcc071a4791e866b5f934b95fc9d676676e5c Mon Sep 17 00:00:00 2001 From: Martin Sekera Date: Sun, 13 Jan 2019 13:25:55 +0100 Subject: [PATCH] remove exherbo remnants from zshrc --- etc/zsh/zshrc | 21 +++++++-------------- 1 file changed, 7 insertions(+), 14 deletions(-) diff --git a/etc/zsh/zshrc b/etc/zsh/zshrc index e1c55ad..c91f310 100644 --- a/etc/zsh/zshrc +++ b/etc/zsh/zshrc @@ -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"