dotfiles/dot_bashrc

32 lines
742 B
Plaintext
Raw Normal View History

2020-04-08 02:07:43 +02:00
#
# /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}"
2020-04-08 02:07:43 +02:00
#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
2020-04-08 02:07:43 +02:00
## 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"