# Bash-specific initialization, including for non-login and remote # shells (info "(bash) Bash Startup Files"). # Provide a default prompt. PS1='\u@\h \w${GUIX_ENVIRONMENT:+ [env]}\$ ' # Export 'SHELL' to child processes. Programs such as 'screen' # honor it and otherwise use /bin/sh. export SHELL if [[ $- != *i* ]] then # We are being invoked from a non-interactive shell. If this # is an SSH session (as in "ssh host command"), source # /etc/profile so we get PATH and other essential variables. [[ -n "$SSH_CLIENT" ]] && source /etc/profile # Don't do anything else, returning a successful return code. return 0 fi for i in /etc/bashrc.d/*.sh; do [[ -r $i ]] && source "$i" done unset i alias cd="z" alias gg="git log --oneline --abbrev-commit --all --graph --decorate --color" alias l="lsd -la" alias ll="lsd -l" alias ls="lsd" alias neofetch="fastfetch" shopt -s histappend shopt -s extglob shopt -s globstar shopt -s checkjobs GPG_TTY="$(tty)" export GPG_TTY HISTFILESIZE=100000 HISTSIZE=10000 PS1="\u@\h:\w$" CURL_CA_BUNDLE="/etc/ssl/certs/ca-certificates.crt" GUIX_PROFILE="/home/andromeda/.config/guix/current" . "$GUIX_PROFILE/etc/profile" unset GUIX_PROFILE GUIX_HOME_PROFILE="/home/andromeda/.guix-home/profile" . "$GUIX_HOME_PROFILE/etc/profile" unset GUIX_HOME_PROFILE eval "$(zoxide init bash)"