Skip to content

Instantly share code, notes, and snippets.

@dylandy
dylandy / fcitx-chewing.png
Created February 28, 2018 14:26 — forked from tanyuan/fcitx-chewing.png
Ubuntu: fcitx + chewing 新酷音輸入法
fcitx-chewing.png
@dylandy
dylandy / bashrc
Last active December 28, 2015 16:49 — forked from float-tw/bashrc
color man and modified title to show git branch
# two line prompt (show git branch)
PS1='\n\[\033[01;30m\]┌[\[\033[00m\]'
PS1+='${debian_chroot:+($debian_chroot)}'
PS1+='\[\033[01;32m\]\u\[\033[00m\]@\h'
PS1+='\[\033[01;30m\]]\[\033[00m\]:'
PS1+='\[\033[01;33m\]\w\[\033[00m\]'
PS1+='\[\033[01;34m\]$(__git_ps1)\[\033[00m\]'
PS1+='\n\[\033[01;30m\]└─\[\033[00m\]\$ '
# For colourful man pages (CLUG-Wiki style)