This is currently pretty barebones and is only meant for my current linux
machine. Spacemacs can be a bit messy with portability, so I'll need to
figure out:
1. How to have custom user-config sections
This can be done with a conditional load or a configuration layer.
2. Custom definition of layers.
As some layers will be OS specific.
Env specific paths in the layers can be moved to the user-config or user-init
section but I will need to find the documentation for this again.
Still need to figure out window positioning. Prior to this I was have used
xdotool but there is not currently an equivalent that does window sizing. Still
trying to figure out a good solution to this.
Some how this was preventing the makefile from being able run the helper
scripts, do to a permission issue. I think somehow `env zsh` was trying to
traverse the env directory. I don't really have a better explanation than this.
Users can still set $HISTFILE if they want to and this will be used instead.
If no value is specified it will default to the $ZDIR/transient/history file.
This will prevent the double render issue that existed prior. It will still
render twice, but the second render will be defered until after tmux has been
quit.
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.
I don't really like the feel of this but this allows us to call
$(return_val_truthy) to output a value of tue or false based on the retrun value
of the last command. This saves us from having to do make the call ` && echo
true || echo false`.
I will probaby switch this in the future to just have a `echo $?` function
instead. Then check if returnVal == zero. If I do that I will also need to
change the way OS works, requiring true => 0 and false => 1, which is a little
bit conter to how it should be.
The output scaling was causing issues where it fonts were blury. This isn't an
ideal solution, and will not work for using an external monitor but since this
machine is currently just serving as a stand alone laptop, this should work.