remove exherbo remnants from zshrc
This commit is contained in:
parent
e631cc2c62
commit
3d0fcc071a
1 changed files with 7 additions and 14 deletions
|
@ -24,8 +24,6 @@ alias usystemctl="systemctl --user"
|
||||||
alias battery="upower -i /org/freedesktop/UPower/devices/battery_BAT0"
|
alias battery="upower -i /org/freedesktop/UPower/devices/battery_BAT0"
|
||||||
alias pp=python2
|
alias pp=python2
|
||||||
alias ppp=python3
|
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
|
# apparently this is the only way of setting GNU Screen to UTF-8
|
||||||
alias screen="screen -U"
|
alias screen="screen -U"
|
||||||
|
@ -86,9 +84,8 @@ kill_screens () {
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
# winetricks tools
|
# winetricks tools
|
||||||
wt-prefix() {
|
wt-prefix () {
|
||||||
export WINEPREFIX="$HOME/.local/share/wineprefixes/$1"
|
export WINEPREFIX="$HOME/.local/share/wineprefixes/$1"
|
||||||
|
|
||||||
grep "#arch=win32" "${WINEPREFIX}/system.reg" > /dev/null
|
grep "#arch=win32" "${WINEPREFIX}/system.reg" > /dev/null
|
||||||
|
@ -100,24 +97,24 @@ wt-prefix() {
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
wt-goto_c() {
|
wt-goto_c () {
|
||||||
cd $WINEPREFIX/drive_c
|
cd $WINEPREFIX/drive_c
|
||||||
}
|
}
|
||||||
|
|
||||||
wt-list_prefixes() {
|
wt-list_prefixes () {
|
||||||
ls $* $HOME/.local/share/wineprefixes/
|
ls $* $HOME/.local/share/wineprefixes/
|
||||||
}
|
}
|
||||||
|
|
||||||
cds() {
|
cds () {
|
||||||
cd /mnt/storage/$USER/$1
|
cd /mnt/data/$USER/$1
|
||||||
}
|
}
|
||||||
|
|
||||||
http-dir() {
|
http-dir () {
|
||||||
echo "Serving $PWD on 0.0.0.0:55555"
|
echo "Serving $PWD on 0.0.0.0:55555"
|
||||||
/usr/sbin/thttpd -T utf-8 -D -d . -p 55555 -l -
|
/usr/sbin/thttpd -T utf-8 -D -d . -p 55555 -l -
|
||||||
}
|
}
|
||||||
|
|
||||||
swap-files() {
|
swap-files () {
|
||||||
TMP=.swap-files.tmp
|
TMP=.swap-files.tmp
|
||||||
mv "$1" "$TMP" && mv "$2" "$1" && mv "$TMP" "$2"
|
mv "$1" "$TMP" && mv "$2" "$1" && mv "$TMP" "$2"
|
||||||
}
|
}
|
||||||
|
@ -221,7 +218,3 @@ bindkey "\eOH" beginning-of-line
|
||||||
bindkey "\eOF" end-of-line
|
bindkey "\eOF" end-of-line
|
||||||
bindkey "\eOd" backward-word
|
bindkey "\eOd" backward-word
|
||||||
bindkey "\eOc" forward-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"
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue