|
|
|
|
| [[ $- == *i* ]] && source $HOME/.guix-profile/share/blesh/ble.sh --noattach
|
|
|
| alias grep="grep --colour=auto"
|
| alias ls="ls --color=auto"
|
|
|
|
|
|
|
|
|
|
|
| export SHELL
|
|
|
| if [[ $- != *i* ]]
|
| then
|
|
|
|
|
|
|
| [[ -n "$SSH_CLIENT" ]] && source /etc/profile
|
|
|
|
|
| return
|
| fi
|
|
|
|
|
| [ -f /etc/bashrc ] && source /etc/bashrc
|
|
|
| alias ls='ls -p --color=auto'
|
| alias ll='ls -l'
|
| alias grep='grep --color=auto'
|
|
|
|
|
|
|
|
|
|
|
| [[ $- != *i* ]] && return
|
|
|
|
|
|
|
|
|
|
|
|
|
| source $HOME/.nix-profile/etc/profile.d/nix.sh
|
|
|
| export NVM_DIR="$HOME/.nvm"
|
| [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
|
| [ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion"
|
| export PATH="/home/me/.local/bin:$PATH"
|
|
|
|
|
|
|
|
|
|
|
| export PATH=$PATH:~/.roswell/bin
|
|
|
|
|
| if [ -n "$GUIX_ENVIRONMENT" ]; then
|
| if [[ $PS1 =~ (.*)"\\$" ]]; then
|
| PS1="${BASH_REMATCH[1]} [env]\\\$ "
|
| fi
|
| fi
|
|
|
|
|
| osc7_cwd() {
|
| local strlen=${#PWD}
|
| local encoded=""
|
| local pos c o
|
| for (( pos=0; pos<strlen; pos++ )); do
|
| c=${PWD:$pos:1}
|
| case "$c" in
|
| [-/:_.!\'\(\)~[:alnum:]] ) o="${c}" ;;
|
| * ) printf -v o '%%%02X' "'${c}" ;;
|
| esac
|
| encoded+="${o}"
|
| done
|
| printf '\e]7;file://%s%s\e\\' "${HOSTNAME}" "${encoded}"
|
| }
|
| PROMPT_COMMAND=${PROMPT_COMMAND:+$PROMPT_COMMAND; }osc7_cwd
|
|
|
| prompt_marker() {
|
| printf '\e]133;A\e\\'
|
| }
|
| PROMPT_COMMAND=${PROMPT_COMMAND:+$PROMPT_COMMAND; }prompt_marker
|
|
|
|
|
| [[ ${BLE_VERSION-} ]] && ble-attach
|
|
|
|
|
|
|
|
|
| #.bash_profile
|
| # Set up the system, user profile, and related variables.
|
| # /etc/profile will be sourced by bash automatically
|
| # Set up the home environment profile.
|
| if [ -f ~/.profile ]; then source ~/.profile; fi
|
|
|
| # Honor per-interactive-shell startup file
|
| if [ -f ~/.bashrc ]; then source ~/.bashrc; fi
|
| PS1='\u@\h \w${GUIX_ENVIRONMENT:+ [env]}\$ '
|
| #
|
| # ~/.bash_profile
|
| #
|
|
|
| [[ -f ~/.bashrc ]] && . ~/.bashrc
|
|
|
| # opam configuration
|
| test -r /home/me/.opam/opam-init/init.sh && . /home/me/.opam/opam-init/init.sh > /dev/null 2> /dev/null || true
|
|
|
| # Created by `pipx` on 2023-08-30 00:47:37
|
| export PATH="$PATH:/home/me/.local/bin"
|
|
|
| #export PYENV_ROOT="$HOME/.pyenv"
|
| #command -v pyenv >/dev/null || export PATH="$PYENV_ROOT/bin:$PATH"
|
| #eval "$(pyenv init -)"
|
|
|
| GUIX_PROFILE="$HOME/.guix-profile"
|
| . "$GUIX_PROFILE/etc/profile"
|
|
|
| GUIX_PROFILE="$HOME/.config/guix/current"
|
| . "$GUIX_PROFILE/etc/profile" |
|
|
|
|