Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found

Target

Select target project
  • rspencer/awit-zsh-superawesome
1 result
Show changes
# Useful variables for our ZSH environment
test "x$HOSTNAME" = "x" && HOSTNAME=$(hostname)
export HOSTNAME
test "x$VISUAL" = "x" && VISUAL=vim
export VISUAL
# Path to your oh-my-zsh installation.
export ZSH=$HOME/.zsh/oh-my-zsh
# User configuration
source $ZSH/oh-my-zsh.sh
# Useful functions
mcd () { mkdir -p "$1"; cd "$1"; }
odx () { od -t x4 -A x "$@" ; }
odx1 () { od -t x1 -A x "$@" ; }
# Git related handy-handy stuff
make-project () { mcd "$1"; git init; cp /usr/share/common-licenses/$2 COPYING; git add COPYING; git commit -m "This project is under the $2 licence at this time"; }
# Alias definitions.
if [ -f ~/.bash_aliases ]; then
. ~/.bash_aliases
fi
# Setting -F to the users home dir will ignore the system ssh_config
# We do this because:
# - The system has SendEnv set to send locale environment variables to the server, LANG and LC_ALL
alias ssh="/usr/bin/ssh -F ~/.ssh/config"