config/fedora/.bashrc

51 lines
1.1 KiB
Bash

#!/usr/bin/env bash
# .bashrc
# Source global definitions
if [ -f /etc/bashrc ]; then
. /etc/bashrc
fi
# User specific environment
if ! [[ "$PATH" =~ "$HOME"/.local/bin:$HOME/bin: ]]
then
PATH="$HOME/.local/bin:$HOME/bin:$PATH"
fi
export PATH
export HISTSIZE=-1
export HISTFILESIZE=-1
shopt -s histappend
if [ -f "$HOME"/.bashrc.d/.bash_aliases ] ; then
source "$HOME"/.bashrc.d/.bash_aliases
fi
eval "$(starship init bash)"
export GPG_TTY=$(tty)
export DOTNET_ROOT=$HOME/.dotnet
if which hx >/dev/null 2>&1; then
export EDITOR="hx"
fi
export PAGER="less"
complete -C /usr/bin/terraform terraform
# Created by `pipx` on 2022-11-14 15:41:06
export PATH="$PATH":/home/ctome/.local/bin
# >>> talisman >>>
# Below environment variables should not be modified unless you know what you are doing
export TALISMAN_HOME=/home/ctome/.talisman/bin
alias talisman='$TALISMAN_HOME'/talisman_linux_amd64
export TALISMAN_INTERACTIVE=true
# <<< talisman <<<
source "$HOME"/.cargo/env
eval "$(mcfly init bash)"
export MCFLY_LIGHT=FALSE
export MCFLY_KEY_SCHEME=vim
if which sccache >/dev/null 2>&1; then
export RUSTC_WRAPPER=sccache;
fi