added jobs to PS1
This commit is contained in:
parent
ea216f80ea
commit
a7e7bb3a63
3
.bashrc
3
.bashrc
@ -6,8 +6,7 @@
|
||||
[[ $- != *i* ]] && return
|
||||
|
||||
# alias ls='ls --color=auto'
|
||||
PS1='+$(jobs | wc -l)\[\e[0;38;5;24m\][\[\e[0;38;5;24m\]$(ip route get 1.1.1.1 2>/dev/null | awk -F"src " '"'"'NR==1{split($2,a," ");print a[1]}'"'"')\[\e[0;38;5;46m\]:\[\e[0;38;5;208m\]\W\[\e[0;38;5;24m\]]\[\e[0;38;5;24m\]\$ \[\e[0m\]'
|
||||
|
||||
PS1='\[\e[38;5;249m\]+$(jobs | wc -l)\[\e[38;5;24m\][$(ip route get 1.1.1.1 2>/dev/null | awk -F"src " '"'"'NR==1{split($2,a," ");print a[1]}'"'"')\[\e[38;5;46m\]:\[\e[38;5;208m\]\W\[\e[38;5;24m\]]\$ \[\e[0m\]'
|
||||
alias luamake=/home/oliver/sources/lua-language-server/3rd/luamake/luamake
|
||||
alias l=lfcd
|
||||
alias clip="xclip -selection clipboard"
|
||||
|
Loading…
Reference in New Issue
Block a user