Fix zshrc loading
This commit is contained in:
parent
21c5e483ec
commit
27ac738fc3
@ -1,23 +1,2 @@
|
|||||||
export PAGER="less -R"
|
export PROMPT='%F{green}[%T] %F{cyan}(%n@%m) %F{lightgrey}(%y)
|
||||||
export EDITOR="nvim"
|
%F{white}%(!.>>.$>) '
|
||||||
|
|
||||||
PS1="%F{green}[%T] %F{cyan}(%n@%m) %F{lightgrey}(%y)
|
|
||||||
%F{white}%(!.%F{red}>>.$>) "
|
|
||||||
|
|
||||||
export PATH="${PATH}:/opt/podman/bin"
|
|
||||||
|
|
||||||
# >>> conda initialize >>>
|
|
||||||
# !! Contents within this block are managed by 'conda init' !!
|
|
||||||
__conda_setup="$('/Users/zaphar/opt/miniconda3/bin/conda' 'shell.zsh' 'hook' 2> /dev/null)"
|
|
||||||
if [ $? -eq 0 ]; then
|
|
||||||
eval "$__conda_setup"
|
|
||||||
else
|
|
||||||
if [ -f "/Users/zaphar/opt/miniconda3/etc/profile.d/conda.sh" ]; then
|
|
||||||
. "/Users/zaphar/opt/miniconda3/etc/profile.d/conda.sh"
|
|
||||||
else
|
|
||||||
export PATH="/Users/zaphar/opt/miniconda3/bin:$PATH"
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
unset __conda_setup
|
|
||||||
# <<< conda initialize <<<
|
|
||||||
|
|
@ -48,6 +48,8 @@
|
|||||||
|
|
||||||
programs = with pkgs; {
|
programs = with pkgs; {
|
||||||
neovim.enable = true;
|
neovim.enable = true;
|
||||||
|
neovim.vimAlias = true;
|
||||||
|
neovim.viAlias = true;
|
||||||
neovim.configure = {
|
neovim.configure = {
|
||||||
customRc = (builtins.readFile ./.vimrc);
|
customRc = (builtins.readFile ./.vimrc);
|
||||||
packages.myVimPackage = with pkgs.vimPlugins; {
|
packages.myVimPackage = with pkgs.vimPlugins; {
|
||||||
@ -75,6 +77,8 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
zsh.enable = true; # default shell on catalina
|
zsh.enable = true; # default shell on catalina
|
||||||
|
# This is a total hack but we don't want the default clobbering it which it does if it's an empty string or null
|
||||||
|
zsh.promptInit = "#noop";
|
||||||
zsh.interactiveShellInit = (builtins.readFile ./.zshrc);
|
zsh.interactiveShellInit = (builtins.readFile ./.zshrc);
|
||||||
};
|
};
|
||||||
environment.systemPackages = (with pkgs; [
|
environment.systemPackages = (with pkgs; [
|
||||||
|
6
nix/darwin/flake.lock
generated
6
nix/darwin/flake.lock
generated
@ -32,12 +32,12 @@
|
|||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1,
|
"lastModified": 1,
|
||||||
"narHash": "sha256-FYoAPOEpojtsQR3jHFL7H1yC5hvffXWUhTNehjxiicM=",
|
"narHash": "sha256-+GjHiziuT4s1/cWK9OjiMp1buxh4IVZ/zLmbZ+NNKBU=",
|
||||||
"path": "/nix/store/9s2a41g96r1hgr9832cl0wbwij08s8yf-source/nix/base-system",
|
"path": "/nix/store/a8sqmhsq15h62prgyyy8j0ghi9213vpx-source/nix/base-system",
|
||||||
"type": "path"
|
"type": "path"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"path": "/nix/store/9s2a41g96r1hgr9832cl0wbwij08s8yf-source/nix/base-system",
|
"path": "/nix/store/a8sqmhsq15h62prgyyy8j0ghi9213vpx-source/nix/base-system",
|
||||||
"type": "path"
|
"type": "path"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user