diff options
author | Patrick Simianer <p@simianer.de> | 2016-07-19 16:41:48 +0200 |
---|---|---|
committer | Patrick Simianer <p@simianer.de> | 2016-07-19 16:41:48 +0200 |
commit | 7a899dfd882541310ba1672c3d0b0c0a30cd9558 (patch) | |
tree | f239baa5061d78d769abb14413caefa3c8794a69 | |
parent | b9d4f7fcd076551c48d93839043dbacbeec2bb79 (diff) |
zshrc
-rw-r--r-- | zsh/.zshrc | 11 |
1 files changed, 6 insertions, 5 deletions
@@ -103,7 +103,7 @@ case `hostname` in HOSTCOLOR_BG=white HOSTCOLOR_FG=black ;; - bogues|curry|iverson|jordan|nowitzki|oneal|*.uberspace.de) + bogues|curry|iverson|nowitzki|oneal|ming|*.uberspace.de) HOSTCOLOR_BG=magenta HOSTCOLOR_FG=black ;; @@ -155,7 +155,7 @@ case `hostname` in umask u=rwx,g=rwx,o=rx alias tmux="tmux -f ~/.tmux.`hostname`.conf" ;; - bogues|curry|iverson|jordan|nowitzki|oneal|*.uberspace.de) + bogues|curry|iverson|nowitzki|oneal|ming|*.uberspace.de) PATH=/usr/lib/colorgcc/bin:$PATH ;; esac @@ -186,6 +186,7 @@ alias grep='grep --color=auto' alias pdf='mupdf' alias py='bpython' alias vi=$EDITOR +alias jsonlint='python -mjson.tool' alias mergepdf='texexec --pdfarrange --noduplex --result merged.pdf ' alias mergepdfgs=' gs -dNOPAUSE -sDEVICE=pdfwrite -sOUTPUTFILE=gsmerged.pdf -dBATCH' @@ -196,11 +197,11 @@ alias qmv='qmv -evim -fdo' alias radio='mocp ~/.moc/radio.m3u' alias wifi_list='sudo iwlist wlan0 scan' -alias kill_wifi='sudo /etc/init.d/dhcpcd stop || sudo killall wpa_supplicant' +alias kill_wifi='sudo /etc/init.d/dhcpcd stop; sudo killall wpa_supplicant' alias always_on='xset dpms 0 0 0' alias vgaoff='xrandr --output VGA1 --off && xrandr --output LVDS1 --mode 1024x768' -alias vgaclone='xrandr --output VGA1 --mode 1024x768' +alias vgaclone='xrandr --output VGA1 --mode 1280x720' alias vgaext='xrandr --output VGA1 --mode 1024x768 --left-of LVDS1 --rotate right' alias vga21='xrandr --output VGA1 --mode 1600x1200 --rate 60 --rotate right && xrandr --output LVDS1 --off' alias vga22w='xrandr --output VGA1 --mode 1680x1050 --rate 60 --rotate left && xrandr --output LVDS1 --off' @@ -220,7 +221,7 @@ alias muxa='tmux attach -t' alias easy_install_home='easy_install --install-dir=$HOME/.local/lib/python/site-packages' alias pip_home='install --install-option="--install-purelib=~/.local/lib/python/site-packages"' alias npm_install_home='npm install -g --prefix ~/.local/lib/node' -alias castnow_home='castnow --address 192.168.0.5' +alias castnow_home='castnow --myip 192.168.0.105 --address 192.168.0.5' alias my_ip='echo "$(curl 'https://api.ipify.org' 2>/dev/null)"' |