dot

packages and services management
Log | Files | Refs | README

commit a5163e3249a7b59b1294d481369b828a9ecbd7d5
parent 6728557423b8ecc6a691229d855296ed11e99408
Author: Josuah Demangeon <josuah.demangeon@gandi.net>
Date:   Wed, 23 Aug 2017 18:25:12 +0200

shell/profile: more traditionnal, simpler dark cyan prompt

Diffstat:
Dshell/bin/.txt.swp | 0
Mshell/profile | 7++++---
Mvim/.vimrc | 1+
3 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/shell/bin/.txt.swp b/shell/bin/.txt.swp Binary files differ. diff --git a/shell/profile b/shell/profile @@ -1,7 +1,8 @@ PS1='$( - [ $? = 0 ] && printf "\033[32;1m" || printf "\033[31;1m" - [ "$(whoami)" = root ] && printf \" || printf \'\'' -)'$(printf '\033[m\n\342\224\201\342\224\201\342\224\201 ') + [ $? = 0 ] || printf "\033[1;31m x\033[m\n " + printf "\n\033[36m%s%s\033[m %s\n" "$(hostname)" "$PWD" "$(git-status)" + [ "$(whoami)" = root ] && printf "#" || printf "$" +) ' PS2=' : ' PS3=' : ' diff --git a/vim/.vimrc b/vim/.vimrc @@ -1,5 +1,6 @@ syntax off +set encoding=utf8 set listchars=tab:\|\ ,trail:%,extends:>,precedes:<,nbsp:_ set list set scrolloff=3