This file contains 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
[alias] | |
co = checkout | |
cob = checkout -b | |
md = merge develop | |
cm = commit -a -m | |
s = status | |
b = branch | |
graph = log --graph -100 --branches --remotes --tags --format=format:'%Cgreen%h %Creset• %<(75,trunc)%s (%cN, %cr) %Cred%d' --date-order | |
precommit = diff --cached --diff-algorithm=minimal -w | |
cod = checkout develop |
This file contains 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
ZSH_THEME_NVM_PROMPT_PREFIX="%{$fg[green]%}⬢ " | |
ZSH_THEME_NVM_PROMPT_SUFFIX="" | |
local node_version='$(nvm_prompt_info)' | |
PROMPT='%{$fg[cyan]%}%c%{$fg_bold[blue]%}$(git_prompt_info)%{$fg_bold[blue]%}% %{$reset_color%}: ' | |
RPROMPT="${node_version}%{$reset_color%}" | |
ZSH_THEME_GIT_PROMPT_PREFIX="(%{$fg[blue]%}" | |
ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%}" | |
ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg[blue]%}) %{$fg[red]%}✗%{$reset_color%}" |
This file contains 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
snippet str "ES6 String Templatize a string concat visual selection" | |
\``!p | |
split = snip.v.text.split("+") | |
finalStr = "" | |
for x in split: | |
x = x.strip() | |
if x[0] == "'" or x[0] == "\"": | |
x = x.strip("\"'") | |
finalStr += x | |
else: |