added powerline
This commit is contained in:
@@ -12,4 +12,30 @@ 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 <<<
|
||||
|
||||
|
||||
Reference in New Issue
Block a user