khanhtran94

Results 4 comments of khanhtran94

here is ps1 when i use echo "$PS1" | vi -R - #export PS1="\${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\] \[^[[36m\]$git_branch\[^[[31m\]$git_dirty\[^[(B^[[0m\]\$" It have error "\[^[[36m\] ^[[31m\][^[(B^[[0m\]".

![terminr](https://user-images.githubusercontent.com/19677561/42192677-893cdcba-7e94-11e8-9699-d296f147c698.png)

PS1="\[\e]0;${debian_chroot:+($debian_chroot)}\u@\h: \w\a\]$PS1\[$txtcyn\]\$git_branch\[$txtred\]\$git_dirty\[$txtrst\]\$" this is my PS1, for those who have some issue