Initial commit - just a zsh startup file for setting up iTerm2 integration

This commit is contained in:
Danielle McLean 2016-10-17 20:51:20 +11:00
commit b71ccdf1f4
No known key found for this signature in database
GPG key ID: CC91589719027E94
2 changed files with 13 additions and 0 deletions

1
.stow-rename Normal file
View file

@ -0,0 +1 @@
config => .config

View file

@ -0,0 +1,12 @@
#! zsh
ITERM2_DIR=$XDG_CACHE_HOME/zsh/iterm2
if [[ ! -r $ITERM2_DIR/startup.zsh ]]; then
mkdir -p $ITERM2_DIR/bin
curl -fLo $ITERM2_DIR/startup.zsh https://iterm2.com/misc/zsh_startup.in
for cmd in imgcat it2dl; do
curl -fLo $ITERM2_DIR/bin/$cmd https://iterm2.com/$cmd
chmod u+x $ITERM2_DIR/bin/$cmd
done
fi
source $ITERM2_DIR/startup.zsh
path+=($ITERM2_DIR/bin)