modifications

This commit is contained in:
Austen Adler 2017-01-30 00:43:41 -05:00
parent 2eb05073f6
commit 718dfe4fa7
No known key found for this signature in database
GPG Key ID: 7ECEE590CCDFE3F1
2 changed files with 7 additions and 7 deletions

View File

@ -94,5 +94,5 @@ fi
if [ "$1" = "screenshot" ]; then if [ "$1" = "screenshot" ]; then
rm ~/last-photo/*(N) rm ~/last-photo/*(N)
DISPLAY=:0.0 xfce4-screenshooter -r -s ~/last-photo DISPLAY=:0.0 xfce4-screenshooter -r -s ~/last-photo
cp ~/last-photo ~/Pictures cp ~/last-photo/* ~/Pictures
fi fi

View File

@ -131,7 +131,7 @@ update-tool() {
l) layman -S ;; l) layman -S ;;
g) upgrade;; g) upgrade;;
e) etc-update;; 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;; m) emerge -Av @module-rebuild --usepkg=n;;
d) emerge -Ava --depclean;; d) emerge -Ava --depclean;;
h) haskell-updater -- --usepkg=n;; h) haskell-updater -- --usepkg=n;;
@ -149,7 +149,7 @@ update-tool() {
echo "l: layman -S" echo "l: layman -S"
echo "g: upgrade" echo "g: upgrade"
echo "e: etc-update" 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 "m: emerge @module-rebuild --usepkg=n"
echo "d: emerge --ask --depclean" echo "d: emerge --ask --depclean"
echo "h: haskell-updater -- --usepkg=n" echo "h: haskell-updater -- --usepkg=n"
@ -197,7 +197,7 @@ fi
alias resource='. ~/.zshrc' alias resource='. ~/.zshrc'
if [ "$(uname)" != "Darwin" ]; then if [ "$(uname)" != "Darwin" ]; then
# Not Mac # 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 ls='ls --color=always -F'
alias where="readlink -m" alias where="readlink -m"
else else
@ -207,7 +207,7 @@ else
alias readlink='greadlink' alias readlink='greadlink'
alias where="greadlink -m" alias where="greadlink -m"
fi 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 fi
if test -f /etc/gentoo-release; then if test -f /etc/gentoo-release; then
# Gentoo # Gentoo
@ -406,10 +406,10 @@ dnstest(){
echo "Testing ping:" echo "Testing ping:"
ping -c 2 8.8.8.8 ping -c 2 8.8.8.8
echo "Testing IP curl:" echo "Testing IP curl:"
curl -k http://98.26.78.121/b/ curl -L 178.33.250.62
echo echo
echo "Testing DNS" echo "Testing DNS"
curl ifconfig.me curl -L portquiz.net
} }
tsh(){ tsh(){
ssh -X $* ssh -X $*