zsh / .zshrcon commit general updates (6b50dac)
   1export ZSH=/home/andrew/.oh-my-zsh
   2export PATH=~/scripts:$PATH
   3export PATH=/home/andrew/.local/bin:$PATH
   4export PATH="/home/andrew/perl5/bin${PATH:+:${PATH}}"
   5export PATH=/opt/chemaxon/marvinsuite:$PATH
   6export PERL5LIB="/home/andrew/perl5/lib/perl5${PERL5LIB:+:${PERL5LIB}}"
   7export PERL_LOCAL_LIB_ROOT="/home/andrew/perl5${PERL_LOCAL_LIB_ROOT:+:${PERL_LOCAL_LIB_ROOT}}"
   8export PERL_MB_OPT="--install_base \"/home/andrew/perl5\""
   9export PERL_MM_OPT="INSTALL_BASE=/home/andrew/perl5"
  10
  11# ---
  12# Keybinds
  13# ---
  14
  15# Ctrl+Bksp deletes preceding word
  16bindkey '^H' backward-delete-word
  17
  18# Ctrl+Del deletes succeeding word
  19bindkey '^[[3^' delete-word
  20
  21# Ctrl+left arrow moves cursor one word left
  22bindkey '^[Od' backward-word
  23
  24# Ctrl+right arrow moves cursor one word right
  25bindkey '^[Oc' forward-word
  26
  27# Custom delimeters for delete-word
  28WORDCHARS='*?_-.[]~=&;!#$%^(){}<>'
  29
  30# ---
  31# Behaviour
  32# ---
  33
  34# Don't record commands prepended with a space in history
  35setopt histignorespace
  36
  37#Allow bash-style comments
  38setopt interactivecomments
  39
  40export EDITOR='vim'
  41
  42# Timestamp in history command ("mm/dd/yyyy"|"dd.mm.yyyy"|"yyyy-mm-dd")
  43HIST_STAMPS="dd.mm.yyyy"
  44
  45DISABLE_UNTRACKED_FILES_DIRTY="true"
  46
  47# plugins can be found in ~/.oh-my-zsh/plugins/*
  48plugins=(git)
  49
  50# ---
  51# Appearance
  52# ---
  53ZSH_THEME="custom"
  54COMPLETION_WAITING_DOTS="true"
  55
  56source $ZSH/oh-my-zsh.sh
  57
  58# use bat instead of cat
  59alias cat="bat"
  60tac () { /usr/bin/tac $@ | bat }
  61
  62# WolframScript alias
  63alias wolf="wolframscript -code"
  64
  65# jpeg compression alias (usage: jcomp in.jpg out.jpg)
  66alias jcomp="convert -strip -interlace Plane -gaussian-blur 0.05 -quality 85%"
  67
  68# alias for git-repo
  69alias repo="~/scripts/git-repo/repo"
  70
  71alias chromium=/usr/bin/google-chrome-stable