-
-
Save angerman/fe35f73071a25bee66e53c0c4a30643a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# /etc/bashrc: DO NOT EDIT -- this file has been generated automatically. | |
# This file is read for interactive shells. | |
[ -r "/etc/zshrc_$TERM_PROGRAM" ] && . "/etc/zshrc_$TERM_PROGRAM" | |
# Only execute this file once per shell. | |
if [ -n "$__ETC_ZSHRC_SOURCED" -o -n "$NOSYSZSHRC" ]; then return; fi | |
__ETC_ZSHRC_SOURCED=1 | |
# Don't execute this file when running in a pure nix-shell. | |
if test -n "$IN_NIX_SHELL"; then return; fi | |
export PATH=$HOME/.nix-profile/bin:/run/current-system/sw/bin:/nix/var/nix/profiles/default/bin:/usr/local/bin:/usr/bin:/usr/sbin:/bin:/sbin | |
export EDITOR="nano" | |
export NIX_CONF_DIR="/etc/nix" | |
export NIX_OTHER_STORES="/run/nix/remote-stores/*/nix" | |
export NIX_PATH="darwin-config=$HOME/.nixpkgs/darwin-configuration.nix:/nix/var/nix/profiles/per-user/root/channels:$HOME/.nix-defexpr/channels" | |
export NIX_SSL_CERT_FILE="/nix/store/na94vqbrzy3x1w08w796ydk79sdmp6b5-nss-cacert-3.33/etc/ssl/certs/ca-bundle.crt" | |
export PAGER="less -R" | |
export SHELL="/nix/store/bfch1cj2l2k1ifg9h6x3q7mj37xwxih7-bash-interactive-4.4-p12/bin/bash" | |
# Extra initialisation | |
# reset TERM with new TERMINFO available (if any) | |
export TERM=$TERM | |
export NIX_USER_PROFILE_DIR="/nix/var/nix/profiles/per-user/$USER" | |
export NIX_PROFILES="/nix/var/nix/profiles/default /run/current-system/sw $HOME/.nix-profile" | |
# Set up secure multi-user builds: non-root users build through the | |
# Nix daemon. | |
if [ "$USER" != root -o ! -w /nix/var/nix/db ]; then | |
export NIX_REMOTE=daemon | |
fi | |
# Read system-wide modifications. | |
if test -f /etc/zsh.local; then | |
source /etc/zsh.local | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment