<commit_before>#
# Executes commands at the start of an interactive session.
#
# Authors:
#   <NAME> <<EMAIL>>
#

# Source Prezto.
if [[ -s "${ZDOTDIR:-$HOME}/.zprezto/init.zsh" ]]; then
  source "${ZDOTDIR:-$HOME}/.zprezto/init.zsh"
fi

# Customize to your needs...

stty -ixon # disable C-s

# Use video title as file name.
alias yt="youtube-dl -t"

alias vundle="vim +BundleInstall +qall"
alias pryr="pry -r ./config/environment.rb"

alias m="make"
alias mk="make"
alias git="hub"
alias gitsh="gitsh --git $(which hub)"

alias cp="${aliases[cp]:-cp} -v"
alias ln="${aliases[ln]:-ln} -v"
alias mv="${aliases[mv]:-mv} -v"
alias rm="${aliases[rm]:-rm} -v"

# cd to given rubygem directory.
function gemcd {
  if [ -n "$(gem which $1)" ]; then
    cd $(dirname $(dirname "$(gem which $1)"))
  fi
 }

function path { print -l $path }
function rot13 { tr '[A-Za-z]' '[N-ZA-Mn-za-m]' }

unsetopt correct

# source teamocil completion
compctl -g '~/.teamocil/*(:t:r)' teamocil

# Goodbye bundle exec.
# This is being set here instead of zshenv because it needs to be<commit_msg>Don't alias git to hub<commit_after>#
# Executes commands at the start of an interactive session.
#
# Authors:
#   <NAME> <<EMAIL>>
#

# Source Prezto.
if [[ -s "${ZDOTDIR:-$HOME}/.zprezto/init.zsh" ]]; then
  source "${ZDOTDIR:-$HOME}/.zprezto/init.zsh"
fi

# Customize to your needs...

stty -ixon # disable C-s

# Use video title as file name.
alias yt="youtube-dl -t"

alias vundle="vim +BundleInstall +qall"
alias pryr="pry -r ./config/environment.rb"

alias m="make"
alias mk="make"
alias gitsh="gitsh --git $(which hub)"

alias cp="${aliases[cp]:-cp} -v"
alias ln="${aliases[ln]:-ln} -v"
alias mv="${aliases[mv]:-mv} -v"
alias rm="${aliases[rm]:-rm} -v"

# cd to given rubygem directory.
function gemcd {
  if [ -n "$(gem which $1)" ]; then
    cd $(dirname $(dirname "$(gem which $1)"))
  fi
 }

function path { print -l $path }
function rot13 { tr '[A-Za-z]' '[N-ZA-Mn-za-m]' }

unsetopt correct

# source teamocil completion
compctl -g '~/.teamocil/*(:t:r)' teamocil

# Goodbye bundle exec.
# This is being set here instead of zshenv because it needs to be
{'fraction_non_alphanumeric': 0.18513323983169705, 'fraction_numerical': 0.0037400654511453952, 'mean_word_length': 3.7874720357941833, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1812424', 'n_tokens_mistral': 841, 'n_tokens_neox': 827, 'n_words': 251}