mirror of
https://git.sr.ht/~magic_rb/dotfiles
synced 2024-11-26 01:56:13 +01:00
32 lines
742 B
Plaintext
32 lines
742 B
Plaintext
#
|
|
# /etc/bash.bashrc
|
|
#
|
|
|
|
# If not running interactively, don't do anything
|
|
[[ $- != *i* ]] && return
|
|
|
|
[[ $DISPLAY ]] && shopt -s checkwinsize
|
|
|
|
[ -r /usr/share/bash-completion/bash_completion ] && . /usr/share/bash-completion/bash_completion
|
|
|
|
## Enable color on ls and grep
|
|
alias ls='ls --color=auto'
|
|
alias grep='grep --color=auto'
|
|
|
|
## Add .local/bin to path
|
|
#export PATH="${HOME}/.local/bin:${PATH}"
|
|
|
|
#if [[ -d "${HOME}/.cargo/bin" ]]; then
|
|
# export PATH="${HOME}/.cargo/bin:${PATH}"
|
|
#fi
|
|
|
|
#if [[ -d "/mnt/data3/Programs/bin" ]]; then
|
|
# export PATH="/mnt/data3/Programs/bin:${PATH}"
|
|
#fi
|
|
|
|
## Set prompt
|
|
export PS1="\u@\[\e[37m\]\h\[\e[m\]:\[\e[32m\]\w\[\e[m\]\[\e[31m\]\\$\[\e[m\] "
|
|
|
|
export EDITOR="vim"
|
|
export BROWSER="firefox-nightly"
|