From 2e10aa8b9cc5d5e7b43532c1c608a60716f46c7a Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Thu, 21 Mar 2013 22:24:13 -0400 Subject: [PATCH] Remove shebangs (not meant to be run on their own) --- zsh/aliases | 2 -- zsh/completion | 2 -- zsh/config | 4 +--- zsh/functions | 5 +---- zsh/paths | 2 -- zsh/welcome | 2 -- 6 files changed, 2 insertions(+), 15 deletions(-) diff --git a/zsh/aliases b/zsh/aliases index bce1db82..d32219f9 100644 --- a/zsh/aliases +++ b/zsh/aliases @@ -1,5 +1,3 @@ -#!/bin/bash - ############# # Aliases # ############# diff --git a/zsh/completion b/zsh/completion index 40effa34..d9ce93d9 100644 --- a/zsh/completion +++ b/zsh/completion @@ -1,4 +1,2 @@ -#!/bin/bash - # Add tab completion for SSH hostnames based on ~/.ssh/config, ignoring wildcards [ -e "$HOME/.ssh/config" ] && complete -o "default" -o "nospace" -W "$(grep "^Host" ~/.ssh/config | grep -v "[?*]" | cut -d " " -f2)" scp sftp ssh diff --git a/zsh/config b/zsh/config index b1e28036..469b7d69 100644 --- a/zsh/config +++ b/zsh/config @@ -1,6 +1,4 @@ -#!/bin/bash - -# Disable autocorrect behavior +# Disable autocorrect behavior, very annoying! unsetopt correct_all # HISTORY diff --git a/zsh/functions b/zsh/functions index 01801805..4f9cc191 100644 --- a/zsh/functions +++ b/zsh/functions @@ -1,7 +1,4 @@ -#!/bin/zsh - -SRC=$(cd "$(dirname "$0")"; pwd) - +# Check to see if a command exists function command-exists { command -v "$1" &> /dev/null } diff --git a/zsh/paths b/zsh/paths index 6b07b7e2..596c782e 100644 --- a/zsh/paths +++ b/zsh/paths @@ -1,5 +1,3 @@ -#!/bin/bash - if command-exists brew; then BREWDIR=`brew --prefix` diff --git a/zsh/welcome b/zsh/welcome index 08f9b071..30fd8e18 100644 --- a/zsh/welcome +++ b/zsh/welcome @@ -1,3 +1 @@ -#!/bin/bash - # Nothing here yet