config/fedora/.bashrc

51 lines
1.1 KiB
Bash
Raw Normal View History

2023-02-26 05:02:16 +00:00
#!/usr/bin/env bash
2022-04-05 03:34:43 +01:00
# .bashrc
# Source global definitions
if [ -f /etc/bashrc ]; then
. /etc/bashrc
fi
# User specific environment
2023-02-26 05:02:16 +00:00
if ! [[ "$PATH" =~ "$HOME"/.local/bin:$HOME/bin: ]]
2022-04-05 03:34:43 +01:00
then
PATH="$HOME/.local/bin:$HOME/bin:$PATH"
fi
export PATH
export HISTSIZE=-1
export HISTFILESIZE=-1
shopt -s histappend
2023-02-26 05:02:16 +00:00
if [ -f "$HOME"/.bashrc.d/.bash_aliases ] ; then
source "$HOME"/.bashrc.d/.bash_aliases
2022-04-05 03:34:43 +01:00
fi
eval "$(starship init bash)"
2023-02-26 05:54:37 +00:00
export GPG_TTY=$(tty)
export DOTNET_ROOT=$HOME/.dotnet
2023-02-26 05:02:16 +00:00
if which hx >/dev/null 2>&1; then
export EDITOR="hx"
fi
2023-02-22 03:06:39 +00:00
export PAGER="less"
complete -C /usr/bin/terraform terraform
# Created by `pipx` on 2022-11-14 15:41:06
2023-02-26 05:02:16 +00:00
export PATH="$PATH":/home/ctome/.local/bin
2023-02-22 03:06:39 +00:00
# >>> 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
2023-02-22 03:06:39 +00:00
export TALISMAN_INTERACTIVE=true
# <<< talisman <<<
source "$HOME"/.cargo/env
2023-02-22 03:06:39 +00:00
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