denysdovhan / dotfiles

My lovely dots ~/.💖
403 stars 61 forks source link

Custom settings into ~/.zshlocal. doesn't work #27

Closed hugobrilhante closed 1 year ago

hugobrilhante commented 1 year ago

I would like to extend my plugins with docker-compose for example but when I tried to do that it didn't work.

# ~/.zshlocal.

plugins = (docker-compose)

Am I doing something wrong? Could you help me with this by providing an example?

denysdovhan commented 1 year ago

What I see from the example you've provided, you are using invalid syntax. .zshlocal is a zsh file, so you should use zsh syntax in there.

hugobrilhante commented 1 year ago

@denysdovhan Sorry for the bad example that made you close the issue. I'll try to explain better. The following example works when it's in .zshrc but when I add it the same example in .zshlocal doesn't work.

# Plugins
plugins=(
   history-substring-search
   git
   npm
   yarn
   nvm
   sudo
   extract
   ssh-agent
   gpg-agent
   macos
   gh
   vscode
   common-aliases
   command-not-found
   docker
   docker-compose
)