diff --git a/.zsh/env.zsh b/.zsh/env.zsh new file mode 100644 index 0000000..bea2253 --- /dev/null +++ b/.zsh/env.zsh @@ -0,0 +1,3 @@ +# Set Devs Tools +# [] = {flutter} +export devTools="" \ No newline at end of file diff --git a/.zsh/path.zsh b/.zsh/path.zsh index 1a3a8ea..dc1b23b 100644 --- a/.zsh/path.zsh +++ b/.zsh/path.zsh @@ -1,2 +1,3 @@ # Flutter -export PATH="$PATH:$HOME/development/flutter/bin" +source $OTHER/env.zsh +grep -q 'flutter' <<< $devTools && export PATH="$PATH:$HOME/development/flutterxd/bin" \ No newline at end of file diff --git a/.zshrc b/.zshrc index eb449fd..24a53c9 100644 --- a/.zshrc +++ b/.zshrc @@ -1,5 +1,6 @@ export TERM="xterm-256color" export OTHER=$HOME/.zsh +export OTHER=.zsh export ZSH=$HOME/.oh-my-zsh export ZSH_THEME="powerlevel9k/powerlevel9k" source $OTHER/powerlevel_settings.sh @@ -25,4 +26,4 @@ if [ -d "$HOME/.zsh-custom" ]; then fi done fi - autoload -Uz compinit && compinit -i +autoload -Uz compinit && compinit -i