Commit Graph

13 Commits

Author SHA1 Message Date
James Patrick
70f2826afe Refactored make targets. 2021-11-28 16:33:24 -05:00
5562f431d0 Generally guard clauses > if else 2021-05-11 15:11:30 -04:00
829f30540e Fixed issue with autocompletes not being loaded
The issue was stemming from racecondition betwwen then completion
function which uses the complete file, and the zsh_users/completions
plug that defined them.

Also relocated transient -> cache.
2020-08-21 18:04:38 -04:00
c15757f3b3 Fixed reported error when nothing new to install.
Running: zplug install with no new installs returns an exitcode of 1. So
running
  zplug install ; report "message"
will always report a failure if there was no new resources to install.
There doesn't seem to an actual way to tell if the install failed
besides checking the log zplug produces, but that can be kind of messy.
For the time being I'm going to disable reporting on this.
2020-07-02 15:10:59 -04:00
b86e96b570 Adding emacs magic-ish line for make files. 2020-03-19 15:55:20 -04:00
6c3787ef1b Refactored to use .ONESHELL
This makes it a hell of a lot simpler but will lose support for BSD
make. All effected machines are running gnu-make, so the cost benefit
ratio ways heavily in favor of doing this.
2020-03-09 13:37:50 -04:00
c4164786b4 Zplug can now install it self better. 2019-12-20 10:14:15 -05:00
1c532913fd Added zlogout 2019-09-17 21:12:24 -04:00
a3b2955e60 Fixed issue stemming from eval order in make if statement.
So I found a rather weird issue. The makefile was evaling the
conditional of a target before that target is called.

`make install` is a empty target with a ordered dependency: `init` and
`update`. In the `init` script section it will install the `~/.zplug`
zsh dependency, and the update script checks to see if that target
exist, aborting if it doesn't. The issue is that running `make install`
will install the `~/.zplug` dir, then report that the dir doesn't exist.
Where running `make init && make update` will work as expected.

There is probably some flag in make to resolve this, but I was unable to
to find any documentation for this.
2019-09-05 15:21:41 +00:00
0082c0b72a Corrected ZPLUG_HOME to ZPLUG_DIR 2019-05-02 22:16:58 -04:00
8a6625ce23 Fixed constant for zplug dir 2019-05-02 21:43:05 -04:00
0cb94a1d49 Added update to chmod ZDIR transient folder on init. 2019-05-01 21:07:07 -04:00
3b54637ca7 Adding basic zsh configuration.
At this point the following doesn't work.

- prompt
- history
- most autocomplete

Additionally with the tmux script getting loaded zplug we are getting a double
render issue, which is increasing the start up time. I'll probably move this
before the .zshrc set to short circuit having to set up all zplug script twice
before having a useable shell.
2019-04-30 23:29:37 -04:00