wget https://raw.githubusercontent.com/benjivesterby/env/master/env_installer.sh && \
chmod +x ./env_installer.sh && \
./env_installer.sh "Firstname Lastname" email@email.com http://github.com/benjivesterby/env.git
This will setup the local enviornment by installing the full Go environment from a fresh setup.
There is a 4th argument to env_installer.sh
which is the signingkey ID of the
GPG key you wish to use for signing code commits.
Open TMUX and execute <prefix>+I
to load the TMUX plugins
Execute the script without the -i flag
./env/env.sh
Monoid Nerd Font
Terminal: You must set the font in terminal properly after installation for Powerline fonts
Preferences -> Startup Theme -> Text (tab) -> Font (Change) -> Select Font
You must setup the fonts in the settings for ITerm in order for the chevrons to show properly.
Preferences -> Profiles -> User -> Text (tab) -> Font Dropdown -> Select Font
Add setting: to VSCode json configuration
{
"terminal.integrated.fontFamily": "Monoid Nerd Font",
}
After installing the env script unplug and re-plug Yubikey with the signing key on it
Execute gpg --card-status
to ensure that the key is visible to the gpg system.
NOTE: if the key ids are not showing properly then execute the following
gpg --card-edit
gpg/card> fetch
Ths will pull the public key from the keyserver. If this doesn't work it's because the URL in the Yubikey is not set for where to pull the public key.
Once the card status shows the keys stored on the yubikey
Add the key you want to sign with to your global git configuration.
git config --global user.signingkey <KEYID>
For Ubuntu the lint script will not properly work unless you reconfigure the
default shell from dash => bash using sudo dpkg-reconfigure dash
and selecting
NO
as the option to unlink dash from /bin/sh
otherwise the list of git files
will not work in the lint script.
curl https://raw.githubusercontent.com/benjivesterby/env/main/node.sh -o ~/bin/up && chmod +x ~/bin/up && ~/bin/up