aboutsummaryrefslogtreecommitdiff
path: root/zsh
diff options
context:
space:
mode:
authorxero <x@xero.nu>2015-07-05 13:51:54 -0400
committerxero <x@xero.nu>2015-07-05 13:51:54 -0400
commitdc6e451a962cace95303a6ead3ba2ccb0a0ba759 (patch)
tree780351e80830024607c6c6f3e25daf7d402f435b /zsh
parente795dc1d30ed1be71997d2421fc0a9b7b6cc49a9 (diff)
downloaddotfiles_ascii-dc6e451a962cace95303a6ead3ba2ccb0a0ba759.tar.xz
dotfiles_ascii-dc6e451a962cace95303a6ead3ba2ccb0a0ba759.zip
update zsh aliases and tty colors
Diffstat (limited to '')
-rwxr-xr-xzsh/.zsh/aliases.zsh20
-rw-r--r--zsh/.zsh/sourcerer.zsh2
2 files changed, 17 insertions, 5 deletions
diff --git a/zsh/.zsh/aliases.zsh b/zsh/.zsh/aliases.zsh
index 16a72df..76eaf5a 100755
--- a/zsh/.zsh/aliases.zsh
+++ b/zsh/.zsh/aliases.zsh
@@ -22,8 +22,18 @@ alias "cd.."="cd ../"
alias up="cd ../"
alias v="vim"
alias vi="vim"
-alias g="hub"
+alias emacs="vim"
alias git="hub"
+alias g="hub"
+alias ga="git add"
+alias gu="git reset HEAD --"
+alias gc="git commit -m"
+alias gs="git status"
+alias gd="git diff"
+alias gf="git fetch"
+alias gm="git merge"
+alias gr="git rebase"
+alias gpr="hub pull-request"
alias tree='tree -CAFa -I "CVS|*.*.package|.svn|.git|.hg|node_modules|bower_components" --dirsfirst'
alias rock="ncmpcpp"
alias mixer="alsamixer"
@@ -36,7 +46,6 @@ 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 tmx="bash ~/code/sys/tmx"
alias fixcursor="xsetroot -cursor_name left_ptr"
alias img="bash ~/code/sys/img"
alias gitio="bash ~/code/sys/gitio"
@@ -51,10 +60,13 @@ alias rusto="toilet -t -f rusto"
alias rustofat="toilet -t -f rustofat"
alias pacman="sudo pacman"
alias systemctl="sudo systemctl"
-alias apachereload='sudo systemctl restart httpd.service'
+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 record="ffmpeg -f x11grab -s 1366x768 -an -r 16 -loglevel quiet -i :0.0 -b:v 5M -y" #pass a filename
+tmx() {
+ [[ $# -eq 0 ]] && bash ~/code/sys/tmx 0 || bash ~/code/sys/tmx $#
+}
email() {
echo $3 | mutt -s $2 $1
}
diff --git a/zsh/.zsh/sourcerer.zsh b/zsh/.zsh/sourcerer.zsh
index 3d37221..0826d04 100644
--- a/zsh/.zsh/sourcerer.zsh
+++ b/zsh/.zsh/sourcerer.zsh
@@ -18,7 +18,7 @@
if [ "$TERM" = "linux" ]
then
echo -en "\e]P0222222" #black
- echo -en "\e]P8272822" #darkgrey
+ echo -en "\e]P8111111" #darkgrey
echo -en "\e]P1aa4450" #darkred
echo -en "\e]P9ff6a6a" #red
echo -en "\e]P2719611" #darkgreen