diff --git a/config/pypoetry/config.toml b/config/pypoetry/config.toml new file mode 100644 index 00000000..ab1033bd --- /dev/null +++ b/config/pypoetry/config.toml @@ -0,0 +1,2 @@ +[virtualenvs] +in-project = true diff --git a/install.sh b/install.sh index 983184aa..ac508e4b 100755 --- a/install.sh +++ b/install.sh @@ -17,7 +17,7 @@ git_clone_if_missing () { then git clone --depth 1 "$1" "$2" else - echo "$1 already checked out -> $2" + echo "$1 already checked out: $2" fi } @@ -46,7 +46,12 @@ PACKER_DIR="$HOME/.local/share/nvim/site/pack/packer/start/packer.nvim" git_clone_if_missing "$PACKER_REPO" "$PACKER_DIR" # oh-my-zsh -sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" +if [ ! -d "$ZSH" ] +then + sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" +else + echo "oh-my-zsh already installed: $ZSH" +fi OHMYZSH_DIR="${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}" if [ -d "$OHMYZSH_DIR" ] then