This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // 1. | |
| '0' == 0 // true | |
| 0 == [] // true | |
| '0' == [] // false | |
| // 2. | |
| ['10', '10', '10'].map(parseInt) // [10, NaN, 2] | |
| // 3. | |
| let obj = {bar:0} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| **/*.txt merge=theirs |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| PROMPT='%{$fg_bold[yellow]%}%c%{$reset_color%} $(git_prompt_info)%{$reset_color%}$(git_prompt_status)%{$reset_color%} | |
| $fg_bold[red]›$fg_bold[cyan]›$fg_bold[blue]›%{$reset_color%} ' | |
| RPROMPT='' | |
| ZSH_THEME_GIT_PROMPT_PREFIX="%{$fg[green]%}" | |
| ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%}" | |
| ZSH_THEME_GIT_PROMPT_DIRTY="" | |
| ZSH_THEME_GIT_PROMPT_CLEAN="" | |
| ZSH_THEME_GIT_PROMPT_ADDED="%{$fg_bold[green]%} + " |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Path to your oh-my-zsh installation. | |
| export ZSH=/Users/minjeongkim/.oh-my-zsh | |
| source $ZSH/oh-my-zsh.sh | |
| source ~/.zplug/init.zsh | |
| zplug "plugins/git", from:oh-my-zsh | |
| zplug "zsh-users/zsh-autosuggestions" | |
| zplug "b4b4r07/enhancd", use:init.sh | |
| zplug "b4b4r07/httpstat", \ | |
| as:command, \ | |
| use:'(*).sh', \ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| " after the plugins loaded | |
| set foldlevel=10 | |
| set foldmethod=syntax | |
| set clipboard=unnamed | |
| set autoindent | |
| filetype plugin indent on |
NewerOlder