add bin dir + add to PATH

This commit is contained in:
Chen Asraf
2022-05-22 13:28:37 +03:00
parent b3eface347
commit b582b021dd
3 changed files with 14 additions and 2 deletions

1
.gitignore vendored
View File

@@ -1,3 +1,4 @@
man/
bin/
_local.sh
.DS_Store

View File

@@ -10,7 +10,8 @@ export MANPATH="$HOME/.dotfiles/man:$MANPATH"
export LDFLAGS="-L/opt/homebrew/opt/flex/lib"
export CPPFLAGS="-I/opt/homebrew/opt/flex/include"
export ANDROID_HOME="$HOME/Library/Android/sdk"
export GO_BIN="$HOME/go/bin"
export GOBIN="$HOME/go/bin"
export DOTBIN="$DOTFILES/bin"
# Ruby User Install (for CocoaPods)
export GEM_HOME="$HOME/.gem"
@@ -29,5 +30,6 @@ export PATH="/opt/homebrew/opt/ruby/bin:$PATH"
export PATH="/opt/homebrew/opt/flex/bin:$PATH"
export PATH="/opt/homebrew/opt/make/libexec/gnubin:$PATH"
export PATH="/Applications/Postgres.app/Contents/Versions/latest/bin:$PATH"
export PATH="$GO_BIN:$PATH"
export PATH="$GOBIN:$PATH"
export PATH="$DOTBIN:$PATH"
export PATH="/Applications/Visual Studio Code.app/Contents/Resources/app/bin:$PATH"

View File

@@ -41,6 +41,8 @@ __home_do_install() {
rm -f $man_out_dir/$man_file
done
# OhMyZsh Plugins
zsh_autosuggestions_path=${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
zsh_syntax_highlighting_path=${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting
@@ -60,6 +62,13 @@ __home_do_install() {
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git $zsh_syntax_highlighting_path
fi
# gi_gen
echo_cyan "Downloading gi_gen..."
gi_ver=0.3.3
mkdir bin
curl -L https://github.com/chenasraf/gi_gen/releases/download/v$gi_ver/gi_gen-v$gi_ver-macos-arm -o bin/gi_gen
chmod +x bin/gi_gen
echo_cyan "Done"
__home_revert_dir
}