enable font awesome in prompt

This commit is contained in:
vincent 2018-06-18 21:12:35 +02:00
parent a543fbc739
commit e7dcd5fdb7
2 changed files with 3 additions and 2 deletions

View File

@ -39,7 +39,7 @@ URxvt.lineSpace: 0
! Fonts
URxvt.allow_bold: false
/* URxvt.font: -*-terminus-medium-r-normal-*-12-120-72-72-c-60-iso8859-1 */
URxvt*font: xft:Monospace:pixelsize=14
URxvt*font: xft:Monospace:pixelsize=11
URxvt*font: xft:DejaVu Sans Mono for Powerline:size=11, xft:FontAwesome5Free:style=Solid:pixelsize=11
#URxvt*boldFont: xft:Monospace:pixelsize=14

View File

@ -6,6 +6,7 @@
#fi
##set zsh theme et dircolor en fonction de term
if [ $TERM != "linux" ]; then
POWERLEVEL9K_MODE="awesome-fontconfig"
source /usr/share/zsh-theme-powerlevel9k/powerlevel9k.zsh-theme
eval `dircolors ~/.dircolors/dircolors.256dark`
POWERLEVEL9K_LEFT_PROMPT_ELEMENTS=(ssh context dir rbenv vcs)