Skip to content

Instantly share code, notes, and snippets.

@dejanr

dejanr/bashrc Secret

Last active June 6, 2018 12:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dejanr/a9ea3ad6e69d4f0fb735b302bd8f367b to your computer and use it in GitHub Desktop.
Save dejanr/a9ea3ad6e69d4f0fb735b302bd8f367b to your computer and use it in GitHub Desktop.
# /etc/bashrc: DO NOT EDIT -- this file has been generated automatically.
# This file is read for interactive shells.
# Make bash check its window size after a process completes
shopt -s checkwinsize
[ -r "/etc/bashrc_$TERM_PROGRAM" ] && . "/etc/bashrc_$TERM_PROGRAM"
# Only execute this file once per shell.
if [ -n "$__ETC_BASHRC_SOURCED" -o -n "$NOSYSBASHRC" ]; then return; fi
__ETC_BASHRC_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_PATH="darwin-config=/etc/nixos/machines/darwin.nix:darwin=/etc/nixos/darwin:nixpkgs=/etc/nixos/nixpkgs"
export NIX_SSL_CERT_FILE="/nix/store/gkg41j65p8ryffjqzxc3rx4k6v95137q-nss-cacert-3.35/etc/ssl/certs/ca-bundle.crt"
export PAGER="less -R"
export SHELL="/nix/store/p17frn8zgghjfpr0j38mfbasvsjcfpbp-bash-4.4-p19/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 [ ! -w /nix/var/nix/db ]; then
export NIX_REMOTE=daemon
fi
source /nix/store/yxghah41i7ms6chyb8b3frm0vjm48wa7-nix-index-0.1.0/etc/profile.d/command-not-found.sh
# Read system-wide modifications.
if test -f /etc/bash.local; then
source /etc/bash.local
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment