mirror of
https://github.com/Mastermindzh/dotfiles.git
synced 2025-07-27 12:43:08 +02:00
screenshot, terminal arrows, symlinks, wallpaper and block update
This commit is contained in:
10
bash/.bashrc
10
bash/.bashrc
@@ -2,16 +2,20 @@
|
||||
# ~/.bashrc
|
||||
#
|
||||
|
||||
function _update_ps1() {
|
||||
PS1=$(powerline-shell $?)
|
||||
}
|
||||
|
||||
source ~/.alias
|
||||
# If not running interactively, don't do anything
|
||||
[[ $- != *i* ]] && return
|
||||
|
||||
|
||||
alias ls='ls --color=auto'
|
||||
|
||||
eval $(thefuck --alias)
|
||||
|
||||
#... :P fancy stuffs
|
||||
screenfetch -t -A "UBUNTU"
|
||||
PS1='[\u@\h \W]\$ '
|
||||
|
||||
if [[ $TERM != linux && ! $PROMPT_COMMAND =~ _update_ps1 ]]; then
|
||||
PROMPT_COMMAND="_update_ps1; $PROMPT_COMMAND"
|
||||
fi
|
||||
|
Reference in New Issue
Block a user