modifications
This commit is contained in:
parent
2eb05073f6
commit
718dfe4fa7
@ -94,5 +94,5 @@ fi
|
||||
if [ "$1" = "screenshot" ]; then
|
||||
rm ~/last-photo/*(N)
|
||||
DISPLAY=:0.0 xfce4-screenshooter -r -s ~/last-photo
|
||||
cp ~/last-photo ~/Pictures
|
||||
cp ~/last-photo/* ~/Pictures
|
||||
fi
|
||||
|
12
shells/zshrc
12
shells/zshrc
@ -131,7 +131,7 @@ update-tool() {
|
||||
l) layman -S ;;
|
||||
g) upgrade;;
|
||||
e) etc-update;;
|
||||
p) emerge -Av @preserved-rebuild --usepkg=n;;
|
||||
p) emerge -Av @preserved-rebuild --usepkg=n --keep-going=y;;
|
||||
m) emerge -Av @module-rebuild --usepkg=n;;
|
||||
d) emerge -Ava --depclean;;
|
||||
h) haskell-updater -- --usepkg=n;;
|
||||
@ -149,7 +149,7 @@ update-tool() {
|
||||
echo "l: layman -S"
|
||||
echo "g: upgrade"
|
||||
echo "e: etc-update"
|
||||
echo "p: emerge @preserved-rebuild --usepkg=n"
|
||||
echo "p: emerge @preserved-rebuild --usepkg=n --keep-going=y"
|
||||
echo "m: emerge @module-rebuild --usepkg=n"
|
||||
echo "d: emerge --ask --depclean"
|
||||
echo "h: haskell-updater -- --usepkg=n"
|
||||
@ -197,7 +197,7 @@ fi
|
||||
alias resource='. ~/.zshrc'
|
||||
if [ "$(uname)" != "Darwin" ]; then
|
||||
# Not Mac
|
||||
export PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:~/bin"
|
||||
export PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:$HOME/bin"
|
||||
alias ls='ls --color=always -F'
|
||||
alias where="readlink -m"
|
||||
else
|
||||
@ -207,7 +207,7 @@ else
|
||||
alias readlink='greadlink'
|
||||
alias where="greadlink -m"
|
||||
fi
|
||||
export PATH="/opt/local/sbin:/opt/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:~/bin"
|
||||
export PATH="/opt/local/sbin:/opt/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:$HOME/bin"
|
||||
fi
|
||||
if test -f /etc/gentoo-release; then
|
||||
# Gentoo
|
||||
@ -406,10 +406,10 @@ dnstest(){
|
||||
echo "Testing ping:"
|
||||
ping -c 2 8.8.8.8
|
||||
echo "Testing IP curl:"
|
||||
curl -k http://98.26.78.121/b/
|
||||
curl -L 178.33.250.62
|
||||
echo
|
||||
echo "Testing DNS"
|
||||
curl ifconfig.me
|
||||
curl -L portquiz.net
|
||||
}
|
||||
tsh(){
|
||||
ssh -X $*
|
||||
|
Loading…
Reference in New Issue
Block a user