aboutsummaryrefslogtreecommitdiff
path: root/zsh
diff options
context:
space:
mode:
authorxero <x@xero.nu>2015-11-01 15:40:55 -0500
committerxero <x@xero.nu>2015-11-01 15:40:55 -0500
commitd83a172950d90861d63b3891b14d5106e710502d (patch)
tree1da5c1e7ed2324e37508f5e817d5d768d8d486b8 /zsh
parentc9794fec6f9c9bb5ffbf0666d81bc167cc3273e3 (diff)
downloaddotfiles_ascii-d83a172950d90861d63b3891b14d5106e710502d.tar.xz
dotfiles_ascii-d83a172950d90861d63b3891b14d5106e710502d.zip
use ~/bin like a civilized nixer
Diffstat (limited to 'zsh')
-rwxr-xr-xzsh/.zsh/aliases.zsh15
1 files changed, 4 insertions, 11 deletions
diff --git a/zsh/.zsh/aliases.zsh b/zsh/.zsh/aliases.zsh
index f1eeda2..370d5b5 100755
--- a/zsh/.zsh/aliases.zsh
+++ b/zsh/.zsh/aliases.zsh
@@ -51,17 +51,8 @@ alias rock="ncmpcpp"
alias mixer="alsamixer"
alias genplaylist="cd ~/music;find . -name '*.mp3' -o -name '*.flac'|sed -e 's%^./%%g' > ~/.mpd/playlists/all.m3u"
alias matrix="cmatrix -b"
-alias pipes="bash ~/code/fun/pipes"
-alias pipesx="bash ~/code/fun/pipesx"
-alias rain="bash ~/code/fun/rain"
-alias screenfetch="~/code/sys/info"
-alias hashcompare="bash ~/code/sys/hash-compare "
alias tempwatch="while :; do sensors; sleep 1 && clear; done;"
alias term="urxvtc -hold -e " #used for run menu
-alias img="bash ~/code/sys/img"
-alias gitio="bash ~/code/sys/gitio"
-alias ix="bash ~/code/sys/ix"
-alias ioup="~/code/sys/ioup"
alias sprunge="curl -F 'sprunge=<-' http://sprunge.us"
alias clbin="curl -F 'clbin=<-' https://clbin.com"
alias toiletlist='for i in ${TOILET_FONT_PATH:=/usr/share/figlet}/*.{t,f}lf; do j=${i##*/}; echo ""; echo "╓───── "$j; echo "╙────────────────────────────────────── ─ ─ "; echo ""; toilet -d "${i%/*}" -f "$j" "${j%.*}"; done'
@@ -72,23 +63,24 @@ alias rustofat="toilet -t -f rustofat"
alias pacman="sudo pacman"
alias update="code/fun/pacman && yaourt -Syua"
alias systemctl="sudo systemctl"
-alias apachereload="sudo systemctl restart httpd.service"
alias disks='echo "╓───── m o u n t . p o i n t s"; echo "╙────────────────────────────────────── ─ ─ "; lsblk -a; echo ""; echo "╓───── d i s k . u s a g e"; echo "╙────────────────────────────────────── ─ ─ "; df -h;'
alias todo="bash ~/code/sys/todo"
alias record="ffmpeg -f x11grab -s 1366x768 -an -r 16 -loglevel quiet -i :0.0 -b:v 5M -y" #pass a filename
alias nexus="jmtpfs ~/nexus"
tmx() {
- [[ $# -eq 0 ]] && bash ~/code/sys/tmx 0 || bash ~/code/sys/tmx $#
+ [[ $# -eq 0 ]] && bash ~/bin/tmx 0 || bash ~/bin/tmx $#
}
email() {
echo $3 | mutt -s $2 $1
}
+# colorized cat
c() {
for file in "$@"
do
pygmentize -O style=sourcerer -f console256 -g "$file"
done
}
+# colorized less
l() {
pygmentize -O style=sourcerer -f console256 -g $1 | less -r
}
@@ -96,6 +88,7 @@ l() {
md() {
pandoc -s -f markdown -t man "$*" | man -l -
}
+# nullpointer url shortener
short() {
curl -F"shorten=$*" https://0x0.st
}