Files
.dotfiles/bash/.bashrc
T
2020-11-30 11:25:37 +01:00

42 lines
891 B
Bash

#
# ~/.bashrc
#
# If not running interactively, don't do anything
[[ $- != *i* ]] && return
alias ls='ls --color=auto'
PS1='[\u@\h \W]\$ '
alias dog='cat'
alias ..='cd ..'
alias writer='libreoffice --writer'
#neofetch
neofetch
#powerline
function _update_ps1() {
PS1=$(powerline-shell $?)
}
if [[ $TERM != linux && ! $PROMPT_COMMAND =~ _update_ps1 ]]; then
PROMPT_COMMAND="_update_ps1; $PROMPT_COMMAND"
fi
# >>> conda initialize >>>
# !! Contents within this block are managed by 'conda init' !!
__conda_setup="$('/home/paul/anaconda3/bin/conda' 'shell.bash' 'hook' 2> /dev/null)"
if [ $? -eq 0 ]; then
eval "$__conda_setup"
else
if [ -f "/home/paul/anaconda3/etc/profile.d/conda.sh" ]; then
. "/home/paul/anaconda3/etc/profile.d/conda.sh"
else
export PATH="/home/paul/anaconda3/bin:$PATH"
fi
fi
unset __conda_setup
# <<< conda initialize <<<