Fix exec perm

Signed-off-by: Marcus Noble <github@marcusnoble.co.uk>
This commit is contained in:
Marcus Noble 2021-12-03 18:20:33 +00:00
parent 57ee208407
commit 09248c19cd
Signed by: AverageMarcus
GPG Key ID: B8F2DB8A7AEBAF78
13 changed files with 6 additions and 5 deletions

0
home/.bin/gs-create-cluster Normal file → Executable file
View File

0
home/.bin/gs-get-cluster Normal file → Executable file
View File

0
home/.bin/gs-login Normal file → Executable file
View File

0
home/.bin/gs-release Normal file → Executable file
View File

0
home/.bin/kube-all Normal file → Executable file
View File

0
home/.bin/kube-clean-replicasets Normal file → Executable file
View File

0
home/.bin/kube-exec Normal file → Executable file
View File

0
home/.bin/kube-forward-all Normal file → Executable file
View File

0
home/.bin/kube-logs Normal file → Executable file
View File

0
home/.bin/kube-shell Normal file → Executable file
View File

0
home/.bin/kube-ssh Normal file → Executable file
View File

View File

@ -46,7 +46,7 @@ lt() {
git() {
if [ "$1" = "take" ]; then # Git clone then cd into new directory
_git clone $2
cd $(basename $2 | sed 's/\.git$//')
cd $(basename -s .git $2)
elif [ "$1" = "commit" ]; then # Sign all commits
shift
_git commit -s $@

View File

@ -5,6 +5,7 @@ export PATH="/home/linuxbrew/.linuxbrew/bin:/opt/homebrew/bin/:$PATH"
GITEMAIL=$(git config --get user.email)
[ -d ~/.additional_dotfiles ] || (mkdir -p ~/.additional_dotfiles && touch ~/.additional_dotfiles/credentials)
[ -d /usr/local/share/zsh/site-functions ] || (sudo mkdir -p /usr/local/share/zsh/site-functions && sudo chmod 777 /usr/local/share/zsh/site-functions)
# Install homebrew
which brew >/dev/null || /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
@ -79,7 +80,7 @@ case "${OSTYPE}" in
;;
*darwin*)
# Mac specific setup
MAC_BREW_TOOLS=( pinentry-mac gpg gawk coreutils )
MAC_BREW_TOOLS=( pinentry-mac gpg gawk coreutils wget )
for tool in "${MAC_BREW_TOOLS[@]}"
do
printf "${tool}..."