BASH
export NVM_DIR=~/.nvm
export PS1="➜ \w ✗ "
source $(brew --prefix nvm)/nvm.sh
function code {
if [[ $# = 0 ]]
then
open -a "Visual Studio Code"
else
local argPath="$1"
[[ $1 = /* ]] && argPath="$1" || argPath="$PWD/${1#./}"
open -a "Visual Studio Code" "$argPath"
fi
}
ZSH
zsh.zshrc:
code () { VSCODE_CWD="$PWD" open -n -b "com.microsoft.VSCode" --args $* ;}
Oh My ZSH
robbyrussell.zsh-theme:
PROMPT="%(?:%{$fg_bold[green]%}➜ :%{$fg_bold[red]%}➜ )"
PROMPT+=' %{$fg[cyan]%}%~%{$reset_color%} %{$fg_bold[yellow]%}✗ $(git_prompt_info)'
ZSH_THEME_GIT_PROMPT_PREFIX="%{$fg_bold[blue]%}git:(%{$fg[red]%}"
ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%} "
ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg[blue]%}) %{$fg[yellow]%}✗"
ZSH_THEME_GIT_PROMPT_CLEAN="%{$fg[blue]%})"
행복한 고수되셔요...
woojja ))*
\\\\\\\\\\\\\\\\\\\\\\\\\
반응형
'Tools > Settings' 카테고리의 다른 글
[Settings] CentOS 6 에 rpmforge 설치하기 (0) | 2018.03.06 |
---|---|
[Tools/Settings] MAC Tools (0) | 2018.02.28 |
[Settings] VisualStudio - Go To Definition (2) | 2017.11.07 |
[Settings] Visual Studio 2010 Pro Power Tools (0) | 2010.06.25 |