Skip to content
This repository has been archived by the owner on Oct 12, 2021. It is now read-only.

Commit

Permalink
Fixes to shell config
Browse files Browse the repository at this point in the history
  • Loading branch information
lucperkins committed Jul 7, 2020
1 parent 1cbceab commit dc3ddbf
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
1 change: 0 additions & 1 deletion pkgs.json

This file was deleted.

13 changes: 10 additions & 3 deletions shell.nix
Original file line number Diff line number Diff line change
Expand Up @@ -28,21 +28,28 @@ in {
history.extended = true;

sessionVariables = {
PATH = "/Applications/Visual\ Studio\ Code.app/Contents/Resources/app/bin:$PATH";
PATH = "/Applications/Visual\ Studio\ Code.app/Contents/Resources/app/bin:$HOME/.nix-profile/bin:$PATH";
EDITOR = "nvim";
GOPATH = "$HOME/go";
};

initExtra = ''
source ~/.zshrc
if [ -e ~/.nix-profile/etc/profile.d/nix.sh ]; then
. ~/.nix-profile/etc/profile.d/nix.sh;
export NIX_PATH=$HOME/.nix-defexpr/channels''${NIX_PATH:+:}$NIX_PATH
fi # added by Nix installer
'';

oh-my-zsh = {
enable = true;
plugins = [
"docker"
"docker-compose"
"dotenv"
"git"
"sudo"
];
theme = "muse";
};
};
}
}

0 comments on commit dc3ddbf

Please sign in to comment.