-
-
Save a12l/b35b7db57e42be5909a10c52bc1d79aa 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. | |
# Only execute this file once per shell. | |
if [ -n "$__ETC_BASHRC_SOURCED" ] || [ -n "$NOSYSBASHRC" ]; then return; fi | |
__ETC_BASHRC_SOURCED=1 | |
# If the profile was not loaded in a parent process, source | |
# it. But otherwise don't do it because we don't want to | |
# clobber overridden values of $PATH, etc. | |
if [ -z "$__ETC_PROFILE_DONE" ]; then | |
. /etc/profile | |
fi | |
# We are not always an interactive shell. | |
if [ -n "$PS1" ]; then | |
# This function is called whenever a command is not found. | |
command_not_found_handle() { | |
local p='/nix/store/lbj4my2dbszq993iy0hxbzghhdn06b49-command-not-found/bin/command-not-found' | |
if [ -x "$p" ] && [ -f '/nix/var/nix/profiles/per-user/root/channels/nixos/programs.sqlite' ]; then | |
# Run the helper program. | |
"$p" "$@" | |
# Retry the command if we just installed it. | |
if [ $? = 126 ]; then | |
"$@" | |
else | |
return 127 | |
fi | |
else | |
echo "$1: command not found" >&2 | |
return 127 | |
fi | |
} | |
# Check the window size after every command. | |
shopt -s checkwinsize | |
# Disable hashing (i.e. caching) of command lookups. | |
set +h | |
# Provide a nice prompt if the terminal supports it. | |
if [ "$TERM" != "dumb" ] || [ -n "$INSIDE_EMACS" ]; then | |
PROMPT_COLOR="1;31m" | |
((UID)) && PROMPT_COLOR="1;32m" | |
if [ -n "$INSIDE_EMACS" ] || [ "$TERM" = "eterm" ] || [ "$TERM" = "eterm-color" ]; then | |
# Emacs term mode doesn't support xterm title escape sequence (\e]0;) | |
PS1="\n\[\033[$PROMPT_COLOR\][\u@\h:\w]\\$\[\033[0m\] " | |
else | |
PS1="\n\[\033[$PROMPT_COLOR\][\[\e]0;\u@\h: \w\a\]\u@\h:\w]\\$\[\033[0m\] " | |
fi | |
if test "$TERM" = "xterm"; then | |
PS1="\[\033]2;\h:\u:\w\007\]$PS1" | |
fi | |
fi | |
eval "$(/nix/store/ngw3m00r391w31n13q4m2x06amx4mqri-coreutils-9.1/bin/dircolors -b)" | |
# Check whether we're running a version of Bash that has support for | |
# programmable completion. If we do, enable all modules installed in | |
# the system and user profile in obsolete /etc/bash_completion.d/ | |
# directories. Bash loads completions in all | |
# $XDG_DATA_DIRS/bash-completion/completions/ | |
# on demand, so they do not need to be sourced here. | |
if shopt -q progcomp &>/dev/null; then | |
. "/nix/store/9xgx98k6ggq1ay63cq57k9gw35i44b1n-bash-completion-2.11/etc/profile.d/bash_completion.sh" | |
nullglobStatus=$(shopt -p nullglob) | |
shopt -s nullglob | |
for p in $NIX_PROFILES; do | |
for m in "$p/etc/bash_completion.d/"*; do | |
. "$m" | |
done | |
done | |
eval "$nullglobStatus" | |
unset nullglobStatus p m | |
fi | |
alias -- l='ls -alh' | |
alias -- ll='ls -l' | |
alias -- ls='ls --color=tty' | |
fi | |
# Read system-wide modifications. | |
if test -f /etc/bashrc.local; then | |
. /etc/bashrc.local | |
fi |
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/profile: DO NOT EDIT -- this file has been generated automatically. | |
# This file is read for login shells. | |
# Only execute this file once per shell. | |
if [ -n "$__ETC_PROFILE_SOURCED" ]; then return; fi | |
__ETC_PROFILE_SOURCED=1 | |
# Prevent this file from being sourced by interactive non-login child shells. | |
export __ETC_PROFILE_DONE=1 | |
if [ -z "$__NIXOS_SET_ENVIRONMENT_DONE" ]; then | |
. /nix/store/zz0300r80fdr2rf46x2p8zrivi97kjjf-set-environment | |
fi | |
# Read system-wide modifications. | |
if test -f /etc/profile.local; then | |
. /etc/profile.local | |
fi | |
if [ -n "${BASH_VERSION:-}" ]; then | |
. /etc/bashrc | |
fi |
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
$ cat /nix/store/zz0300r80fdr2rf46x2p8zrivi97kjjf-set-environment|rg PATH | |
export GTK_PATH="$HOME/.config/guix/current/lib/gtk-2.0:$HOME/.config/guix/current/lib/gtk-3.0:$HOME/.config/guix/current/lib/gtk-4.0:$HOME/.guix-profile/lib/gtk-2.0:$HOME/.guix-profile/lib/gtk-3.0:$HOME/.guix-profile/lib/gtk-4.0:/var/guix/profiles/per-user/root/current-guix/lib/gtk-2.0:/var/guix/profiles/per-user/root/current-guix/lib/gtk-3.0:/var/guix/profiles/per-user/root/current-guix/lib/gtk-4.0:$HOME/.nix-profile/lib/gtk-2.0:$HOME/.nix-profile/lib/gtk-3.0:$HOME/.nix-profile/lib/gtk-4.0:/etc/profiles/per-user/$USER/lib/gtk-2.0:/etc/profiles/per-user/$USER/lib/gtk-3.0:/etc/profiles/per-user/$USER/lib/gtk-4.0:/nix/var/nix/profiles/default/lib/gtk-2.0:/nix/var/nix/profiles/default/lib/gtk-3.0:/nix/var/nix/profiles/default/lib/gtk-4.0:/run/current-system/sw/lib/gtk-2.0:/run/current-system/sw/lib/gtk-3.0:/run/current-system/sw/lib/gtk-4.0" | |
export GUIX_LOCPATH="$HOME/.config/guix/current/lib/locale:$HOME/.guix-profile/lib/locale:/var/guix/profiles/per-user/root/current-guix/lib/locale" | |
export INFOPATH="$HOME/.config/guix/current/info:$HOME/.config/guix/current/share/info:$HOME/.guix-profile/info:$HOME/.guix-profile/share/info:/var/guix/profiles/per-user/root/current-guix/info:/var/guix/profiles/per-user/root/current-guix/share/info:$HOME/.nix-profile/info:$HOME/.nix-profile/share/info:/etc/profiles/per-user/$USER/info:/etc/profiles/per-user/$USER/share/info:/nix/var/nix/profiles/default/info:/nix/var/nix/profiles/default/share/info:/run/current-system/sw/info:/run/current-system/sw/share/info" | |
export LIBEXEC_PATH="$HOME/.config/guix/current/lib/libexec:$HOME/.guix-profile/lib/libexec:/var/guix/profiles/per-user/root/current-guix/lib/libexec:$HOME/.nix-profile/lib/libexec:/etc/profiles/per-user/$USER/lib/libexec:/nix/var/nix/profiles/default/lib/libexec:/run/current-system/sw/lib/libexec" | |
export MOZ_PLUGIN_PATH="$HOME/.config/guix/current/lib/mozilla/plugins:$HOME/.guix-profile/lib/mozilla/plugins:/var/guix/profiles/per-user/root/current-guix/lib/mozilla/plugins:$HOME/.nix-profile/lib/mozilla/plugins:/etc/profiles/per-user/$USER/lib/mozilla/plugins:/nix/var/nix/profiles/default/lib/mozilla/plugins:/run/current-system/sw/lib/mozilla/plugins" | |
export NIX_PATH="nixpkgs=/nix/var/nix/profiles/per-user/root/channels/nixos:nixos-config=/etc/nixos/configuration.nix:/nix/var/nix/profiles/per-user/root/channels" | |
export PATH="$HOME/.config/guix/current/bin:$HOME/.guix-profile/bin:/var/guix/profiles/per-user/root/current-guix/bin:$HOME/.nix-profile/bin:/etc/profiles/per-user/$USER/bin:/nix/var/nix/profiles/default/bin:/run/current-system/sw/bin" | |
export QTWEBKIT_PLUGIN_PATH="$HOME/.config/guix/current/lib/mozilla/plugins/:$HOME/.guix-profile/lib/mozilla/plugins/:/var/guix/profiles/per-user/root/current-guix/lib/mozilla/plugins/:$HOME/.nix-profile/lib/mozilla/plugins/:/etc/profiles/per-user/$USER/lib/mozilla/plugins/:/nix/var/nix/profiles/default/lib/mozilla/plugins/:/run/current-system/sw/lib/mozilla/plugins/" | |
export QT_PLUGIN_PATH="$HOME/.config/guix/current/lib/qt4/plugins:$HOME/.config/guix/current/lib/kde4/plugins:$HOME/.guix-profile/lib/qt4/plugins:$HOME/.guix-profile/lib/kde4/plugins:/var/guix/profiles/per-user/root/current-guix/lib/qt4/plugins:/var/guix/profiles/per-user/root/current-guix/lib/kde4/plugins:$HOME/.nix-profile/lib/qt4/plugins:$HOME/.nix-profile/lib/kde4/plugins:/etc/profiles/per-user/$USER/lib/qt4/plugins:/etc/profiles/per-user/$USER/lib/kde4/plugins:/nix/var/nix/profiles/default/lib/qt4/plugins:/nix/var/nix/profiles/default/lib/kde4/plugins:/run/current-system/sw/lib/qt4/plugins:/run/current-system/sw/lib/kde4/plugins" | |
export XCURSOR_PATH="$HOME/.icons:$HOME/.local/share/icons:$HOME/.config/guix/current/share/icons:$HOME/.config/guix/current/share/pixmaps:$HOME/.guix-profile/share/icons:$HOME/.guix-profile/share/pixmaps:/var/guix/profiles/per-user/root/current-guix/share/icons:/var/guix/profiles/per-user/root/current-guix/share/pixmaps:$HOME/.nix-profile/share/icons:$HOME/.nix-profile/share/pixmaps:/etc/profiles/per-user/$USER/share/icons:/etc/profiles/per-user/$USER/share/pixmaps:/nix/var/nix/profiles/default/share/icons:/nix/var/nix/profiles/default/share/pixmaps:/run/current-system/sw/share/icons:/run/current-system/sw/share/pixmaps" | |
export NIX_PATH="$HOME/.nix-defexpr/channels${NIX_PATH:+:$NIX_PATH}" | |
export PATH="/run/wrappers/bin:$PATH" |
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
$ cat /etc/profiles/per-user/a12l/etc/profile.d/hm-session-vars.sh | |
# Only source this once. | |
if [ -n "$__HM_SESS_VARS_SOURCED" ]; then return; fi | |
export __HM_SESS_VARS_SOURCED=1 | |
export GNUPGHOME="/home/a12l/.local/data/gnupg" | |
export JAVA_HOME="/nix/store/0yszyfpaf5igsir0i3g2wwy7gk18hlf6-openjdk-17.0.5+8/lib/openjdk" | |
export LOCALE_ARCHIVE_2_27="/nix/store/jbyiz1bkviwd0bvvh3jg7zzgg6gg1yjd-glibc-locales-2.35-224/lib/locale/locale-archive" | |
export XDG_CACHE_HOME="/home/a12l/.cache" | |
export XDG_CONFIG_HOME="/home/a12l/.config" | |
export XDG_DATA_HOME="/home/a12l/.local/data" | |
export XDG_DESKTOP_DIR="$HOME" | |
export XDG_DOCUMENTS_DIR="$HOME/Temporary" | |
export XDG_DOWNLOAD_DIR="$HOME/Temporary" | |
export XDG_MUSIC_DIR="$HOME/Temporary" | |
export XDG_PICTURES_DIR="$HOME/Temporary" | |
export XDG_PUBLICSHARE_DIR="$HOME/Temporary" | |
export XDG_STATE_HOME="/home/a12l/.local/state" | |
export XDG_TEMPLATES_DIR="$HOME/Temporary" | |
export XDG_VIDEOS_DIR="$HOME/Temporary" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment