diff --git a/.zshrc b/.zshrc index 7576bf7..0b10fb9 100644 --- a/.zshrc +++ b/.zshrc @@ -1,10 +1,11 @@ # Path to your oh-my-zsh installation. -export ZSH=/Users/shubham/.oh-my-zsh +export ZSH=~/.oh-my-zsh ZSH_THEME="cobalt2" COMPLETION_WAITING_DOTS="true" plugins=(git zsh-autosuggestions zsh-completions) +export ZSH_DISABLE_COMPFIX="true" source $ZSH/oh-my-zsh.sh export EDITOR='nvim' @@ -36,8 +37,8 @@ echo "Current time: `date +"%r %a %d %h %y"`" [ -f ~/.fzf.zsh ] && source ~/.fzf.zsh export GOPATH=~/projects/go -export GOROOT="$(brew --prefix golang)/libexec" -export PATH=~/.rbenv/shims:${GOPATH}/bin:${GOROOT}/bin:/usr/local/Caskroom/google-cloud-sdk/latest/google-cloud-sdk/bin:/Users/shubham/Library/Android/sdk/platform-tools:/Users/shubham/Library/Android/sdk/tools/bin:$PATH +export GOROOT="/usr/local/opt/go" +export PATH=~/.rbenv/shims:${GOPATH}/bin:${GOROOT}/bin:/Users/shubhamshukla/Library/Python/3.9/bin:/usr/local/Caskroom/google-cloud-sdk/latest/google-cloud-sdk/bin:/Users/shubham/Library/Android/sdk/platform-tools:/Users/shubham/Library/Android/sdk/tools/bin:$PATH source /usr/local/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh @@ -61,8 +62,13 @@ export LDFLAGS="-L/usr/local/opt/openssl/lib" export CPPFLAGS="-I/usr/local/opt/openssl/include" export PKG_CONFIG_PATH="/usr/local/opt/openssl/lib/pkgconfig" -# The next line updates PATH for the Google Cloud SDK. -if [ -f '/Users/shubham/google-cloud-sdk/path.zsh.inc' ]; then . '/Users/shubham/google-cloud-sdk/path.zsh.inc'; fi - # The next line enables shell command completion for gcloud. -if [ -f '/Users/shubham/google-cloud-sdk/completion.zsh.inc' ]; then . '/Users/shubham/google-cloud-sdk/completion.zsh.inc'; fi +source /usr/local/Caskroom/google-cloud-sdk/latest/google-cloud-sdk/path.zsh.inc +source /usr/local/Caskroom/google-cloud-sdk/latest/google-cloud-sdk/completion.zsh.inc + +autoload -U +X bashcompinit && bashcompinit +complete -o nospace -C /usr/local/bin/terraform terraform +source <(kubectl completion zsh) +complete -F __start_kubectl k +export PATH="${KREW_ROOT:-$HOME/.krew}/bin:$PATH" +export PATH="/usr/local/opt/openjdk/bin:$PATH" diff --git a/docker-rails.zsh b/docker-rails.zsh index a9c1e75..c41954b 100644 --- a/docker-rails.zsh +++ b/docker-rails.zsh @@ -13,6 +13,9 @@ alias dcp="docker-compose pull" alias dcpb="docker-compose pull && docker-compose build" alias dcps="docker-compose ps" alias drs="docker restart" +alias k="kubectl" +alias kx="kubectx" +alias ke="kubens" # Helper functions for using docker with rails drc() { diff --git a/global_gitignore b/global_gitignore index 2a09ce3..7e4015c 100644 --- a/global_gitignore +++ b/global_gitignore @@ -15,3 +15,4 @@ tags.lock tags.temp */.tern-port *@neomake*.rb +output/ diff --git a/iterm2/com.googlecode.iterm2.plist b/iterm2/com.googlecode.iterm2.plist index 8389196..a79a394 100644 --- a/iterm2/com.googlecode.iterm2.plist +++ b/iterm2/com.googlecode.iterm2.plist @@ -2,14 +2,8 @@ - AppleAntiAliasingThreshold - 1 - AppleScrollAnimationEnabled - 0 - AppleSmoothFixedFontsSizeThreshold - 1 - AppleWindowTabbingMode - manual + AlternateMouseScroll + ConvertDosNewlines Custom Color Presets @@ -229,63 +223,12 @@ C47EC093-3D24-4051-83F5-08D1B6FB2291 EscapeShellCharsWithBackslash + HapticFeedbackForEsc + HotkeyMigratedFromSingleToMulti - LoadPrefsFromCustomFolder - - NSNavLastRootDirectory - ~/Documents - NSNavPanelExpandedSizeForOpenMode - {712, 448} - NSQuotedKeystrokeBinding - - NSRepeatCountBinding - - NSScrollAnimationEnabled + MaxVertically - NSScrollViewShouldScrollUnderTitlebar - - NSTableView Columns v2 KeyBingingTable - - YnBsaXN0MDDUAQIDBAUGNjdYJHZlcnNpb25YJG9iamVjdHNZJGFyY2hpdmVyVCR0b3AS - AAGGoK4HCA8aGxwdHh8gJjAxMlUkbnVsbNIJCgsOWk5TLm9iamVjdHNWJGNsYXNzogwN - gAKACoAN0xAJChEVGVdOUy5rZXlzoxITFIADgASABaMWFxiABoAHgAiACVpJZGVudGlm - aWVyVVdpZHRoVkhpZGRlblEwI0BowAAAAAAACNIhIiMkWiRjbGFzc25hbWVYJGNsYXNz - ZXNcTlNEaWN0aW9uYXJ5oiMlWE5TT2JqZWN00xAJCicrGaMSExSAA4AEgAWjLC0YgAuA - DIAIgAlRMSNAdKGdsi0OVtIhIjM0Xk5TTXV0YWJsZUFycmF5ozM1JVdOU0FycmF5XxAP - TlNLZXllZEFyY2hpdmVy0Tg5VUFycmF5gAEACAARABoAIwAtADIANwBGAEwAUQBcAGMA - ZgBoAGoAbABzAHsAfwCBAIMAhQCJAIsAjQCPAJEAnACiAKkAqwC0ALUAugDFAM4A2wDe - AOcA7gDyAPQA9gD4APwA/gEAAQIBBAEGAQ8BFAEjAScBLwFBAUQBSgAAAAAAAAIBAAAA - AAAAADoAAAAAAAAAAAAAAAAAAAFM - - NSTableView Sort Ordering v2 KeyBingingTable - - YnBsaXN0MDDUAQIDBAUGFBVYJHZlcnNpb25YJG9iamVjdHNZJGFyY2hpdmVyVCR0b3AS - AAGGoKMHCA1VJG51bGzSCQoLDFpOUy5vYmplY3RzViRjbGFzc6CAAtIODxARWiRjbGFz - c25hbWVYJGNsYXNzZXNeTlNNdXRhYmxlQXJyYXmjEBITV05TQXJyYXlYTlNPYmplY3Rf - EA9OU0tleWVkQXJjaGl2ZXLRFhdVQXJyYXmAAQgRGiMtMjc7QUZRWFlbYGt0g4ePmKqt - swAAAAAAAAEBAAAAAAAAABgAAAAAAAAAAAAAAAAAAAC1 - - NSTableView Supports v2 KeyBingingTable - - NSWindow Frame NSFontPanel - 578 119 558 94 0 0 1440 900 - NSWindow Frame SUUpdateAlert - 410 363 620 392 0 0 1440 877 - NSWindow Frame SessionsPreferences - 269 126 606 469 0 0 1440 900 - NSWindow Frame SharedPreferences - 272 454 918 423 0 0 1440 900 - NSWindow Frame UKCrashReporter - 99 293 592 584 0 0 1440 877 - NSWindow Frame iTerm Window 0 - 253 195 650 452 0 0 1440 877 - NSWindow Frame iTerm Window 1 - 0 0 1440 877 0 0 1440 877 - NSWindow Frame iTerm Window 2 - -254 1325 650 452 -254 900 1920 1080 - NSWindow Frame iTerm Window 3 - 218 24 570 402 0 0 1440 900 New Bookmarks @@ -467,6 +410,8 @@ Red Component 1 + Blink Allowed + Blinking Cursor Blur @@ -533,6 +478,8 @@ Disable Window Resizing + Draw Powerline Glyphs + Flashing Bell Foreground Color @@ -547,7 +494,7 @@ Guid C47EC093-3D24-4051-83F5-08D1B6FB2291 Horizontal Spacing - 1 + 0.81999999999999995 Idle Code 0 Jobs to Ignore @@ -559,413 +506,427 @@ Keyboard Map - 0x2a-0x200000 + 0x2a-0x200000-0x0 Action 12 Text * - 0x2b-0x200000 + 0x2b-0x200000-0x0 Action 12 Text + - 0x2d-0x200000 + 0x2d-0x200000-0x0 Action 12 Text - - 0x2d-0x40000 + 0x2d-0x40000-0x0 Action 11 Text 0x1f - 0x2e-0x200000 + 0x2e-0x200000-0x0 Action 12 Text . - 0x2f-0x200000 + 0x2f-0x200000-0x0 Action 12 Text / - 0x3-0x200000 + 0x3-0x200000-0x0 Action 11 Text 0xd - 0x30-0x200000 + 0x30-0x200000-0x0 Action 12 Text 0 - 0x31-0x200000 + 0x31-0x200000-0x0 Action 12 Text 1 - 0x32-0x200000 + 0x32-0x200000-0x0 Action 12 Text 2 - 0x32-0x40000 + 0x32-0x40000-0x0 Action 11 Text 0x00 - 0x33-0x200000 + 0x33-0x200000-0x0 Action 12 Text 3 - 0x33-0x40000 + 0x33-0x40000-0x0 Action 11 Text 0x1b - 0x34-0x200000 + 0x34-0x200000-0x0 Action 12 Text 4 - 0x34-0x40000 + 0x34-0x40000-0x0 Action 11 Text 0x1c - 0x35-0x200000 + 0x35-0x200000-0x0 Action 12 Text 5 - 0x35-0x40000 + 0x35-0x40000-0x0 Action 11 Text 0x1d - 0x36-0x200000 + 0x36-0x200000-0x0 Action 12 Text 6 - 0x36-0x40000 + 0x36-0x40000-0x0 Action 11 Text 0x1e - 0x37-0x200000 + 0x37-0x200000-0x0 Action 12 Text 7 - 0x37-0x40000 + 0x37-0x40000-0x0 Action 11 Text 0x1f - 0x38-0x200000 + 0x38-0x200000-0x0 Action 12 Text 8 - 0x38-0x40000 + 0x38-0x40000-0x0 Action 11 Text 0x7f - 0x39-0x200000 + 0x39-0x200000-0x0 Action 12 Text 9 - 0x7f-0x100000 + 0x7f-0x100000-0x0 Action 11 Text 0x15 - 0x7f-0x80000 + 0x7f-0x80000-0x0 Action 11 Text 0x1b 0x7f - 0xf700-0x220000 + 0xf700-0x220000-0x0 Action 10 Text [1;2A - 0xf700-0x240000 + 0xf700-0x240000-0x0 Action 10 Text [1;5A - 0xf700-0x260000 + 0xf700-0x260000-0x0 Action 10 Text [1;6A - 0xf701-0x220000 + 0xf701-0x220000-0x0 Action 10 Text [1;2B - 0xf701-0x240000 + 0xf701-0x240000-0x0 Action 10 Text [1;5B - 0xf701-0x260000 + 0xf701-0x260000-0x0 Action 10 Text [1;6B - 0xf702-0x220000 + 0xf702-0x220000-0x0 Action 10 Text [1;2D - 0xf702-0x240000 + 0xf702-0x240000-0x0 Action 10 Text [1;5D - 0xf702-0x260000 + 0xf702-0x260000-0x0 Action 10 Text [1;6D - 0xf702-0x280000 + 0xf702-0x280000-0x0 Action 10 Text b - 0xf703-0x220000 + 0xf702-0x300000-0x0 + + Action + 11 + Text + 0x1 + + 0xf703-0x220000-0x0 Action 10 Text [1;2C - 0xf703-0x240000 + 0xf703-0x240000-0x0 Action 10 Text [1;5C - 0xf703-0x260000 + 0xf703-0x260000-0x0 Action 10 Text [1;6C - 0xf703-0x280000 + 0xf703-0x280000-0x0 Action 10 Text f - 0xf704-0x20000 + 0xf703-0x300000-0x0 + + Action + 11 + Text + 0x5 + + 0xf704-0x20000-0x0 Action 10 Text [1;2P - 0xf705-0x20000 + 0xf705-0x20000-0x0 Action 10 Text [1;2Q - 0xf706-0x20000 + 0xf706-0x20000-0x0 Action 10 Text [1;2R - 0xf707-0x20000 + 0xf707-0x20000-0x0 Action 10 Text [1;2S - 0xf708-0x20000 + 0xf708-0x20000-0x0 Action 10 Text [15;2~ - 0xf709-0x20000 + 0xf709-0x20000-0x0 Action 10 Text [17;2~ - 0xf70a-0x20000 + 0xf70a-0x20000-0x0 Action 10 Text [18;2~ - 0xf70b-0x20000 + 0xf70b-0x20000-0x0 Action 10 Text [19;2~ - 0xf70c-0x20000 + 0xf70c-0x20000-0x0 Action 10 Text [20;2~ - 0xf70d-0x20000 + 0xf70d-0x20000-0x0 Action 10 Text [21;2~ - 0xf70e-0x20000 + 0xf70e-0x20000-0x0 Action 10 Text [23;2~ - 0xf70f-0x20000 + 0xf70f-0x20000-0x0 Action 10 Text [24;2~ - 0xf728-0x0 + 0xf728-0x0-0x0 Action 11 Text 0x4 - 0xf728-0x80000 + 0xf728-0x80000-0x0 Action 10 Text d - 0xf729-0x20000 + 0xf729-0x20000-0x0 Action 10 Text [1;2H - 0xf729-0x40000 + 0xf729-0x40000-0x0 Action 10 Text [1;5H - 0xf72b-0x20000 + 0xf72b-0x20000-0x0 Action 10 Text [1;2F - 0xf72b-0x40000 + 0xf72b-0x40000-0x0 Action 10 Text [1;5F - 0xf739-0x0 + 0xf739-0x0-0x0 Action 13 @@ -989,13 +950,13 @@ Mouse Reporting Name - Default + Laptop Profile Non Ascii Font Monaco 12 Non-ASCII Anti Aliased Normal Font - FuraCodeNerdFontComplete-Retina 14 + FiraCodeNerdFontComplete-Retina 15 Open Toolbelt Option Key Sends @@ -1033,7 +994,7 @@ Send Code When Idle Shortcut - + 1 Silence Bell Sync Title @@ -1042,6 +1003,8 @@ Terminal Type xterm-256color + Thin Strokes + 4 Transparency 0.0 Unlimited Scrollback @@ -1055,7 +1018,7 @@ Use Non-ASCII Font Vertical Spacing - 1 + 1.0600000000000001 Visual Bell Window Type @@ -1063,714 +1026,808 @@ Working Directory /Users/shubham - - NoSyncAllAppVersions - - 3.2.9 - 3.3.0 - - NoSyncHaveRequestedFullDiskAccess - - NoSyncHaveWarnedAboutPasteConfirmationChange - - NoSyncInstallationId - C97867F6-683A-4A11-BB66-2CA54B8D43C2 - NoSyncLaunchExperienceControllerRunCount - 1 - NoSyncNeverRemindPrefsChangesLostForFile - - NoSyncNeverRemindPrefsChangesLostForFile_selection - 0 - NoSyncNextAnnoyanceTime - 586889844.64043105 - NoSyncOnboardingWindowHasBeenShown - - NoSyncPermissionToShowTip - - NoSyncRecordedVariables - - 0 - - - isTerminal - - name - - nonterminalContext - 0 - - - 1 - - - isTerminal - - name - presentationName - nonterminalContext - 0 - - - isTerminal - - name - tmuxRole - nonterminalContext - 0 - - - isTerminal - - name - lastCommand - nonterminalContext - 0 - - - isTerminal - - name - profileName - nonterminalContext - 0 - - - isTerminal - - name - termid - nonterminalContext - 0 - - - isTerminal - - name - id - nonterminalContext - 0 - - - isTerminal - - name - jobName - nonterminalContext - 0 - - - isTerminal - - name - columns - nonterminalContext - 0 - - - isTerminal - - name - tab.tmuxWindowTitle - nonterminalContext - 0 - - - isTerminal - - name - hostname - nonterminalContext - 0 - - - isTerminal - - name - tmuxClientName - nonterminalContext - 0 - - - isTerminal - - name - path - nonterminalContext - 0 - - - isTerminal - - name - triggerName - nonterminalContext - 0 - - - isTerminal - - name - terminalIconName - nonterminalContext - 0 - - - isTerminal - - name - tmuxWindowPane - nonterminalContext - 0 - + + ASCII Anti Aliased + + ASCII Ligatures + + Allow Title Reporting + + Ambiguous Double Width + + Ansi 0 Color - isTerminal - - name - tmuxStatusRight - nonterminalContext - 0 + Blue Component + 0.08235294371843338 + Green Component + 0.08235294371843338 + Red Component + 0.08235294371843338 + Ansi 1 Color - isTerminal - - name - mouseReportingMode - nonterminalContext - 0 + Blue Component + 0.2588235438 + Green Component + 0.25490197539999998 + Red Component + 0.67450982329999998 + Ansi 10 Color - isTerminal - - name - iterm2 - nonterminalContext - 4 + Blue Component + 0.31444666754949363 + Green Component + 0.55576569570135748 + Red Component + 0.49473804391474724 + Ansi 11 Color - isTerminal - - name - name - nonterminalContext - 0 + Blue Component + 0.4039215686 + Green Component + 0.70980392160000005 + Red Component + 0.8980392157 + Ansi 12 Color - isTerminal - - name - tmuxPaneTitle - nonterminalContext - 0 + Blue Component + 0.73333333333333328 + Green Component + 0.59999999999999998 + Red Component + 0.42352941176470588 + Ansi 13 Color - isTerminal - - name - rows - nonterminalContext - 0 + Blue Component + 0.5234466981 + Green Component + 0.30697798580000002 + Red Component + 0.62333851809999996 + Ansi 14 Color - isTerminal - - name - username - nonterminalContext - 0 + Blue Component + 0.8118151991 + Green Component + 0.83853216239999995 + Red Component + 0.49031879989999999 + Ansi 15 Color - isTerminal - - name - tty - nonterminalContext - 0 + Blue Component + 0.96078431606292725 + Green Component + 0.96078431606292725 + Red Component + 0.96078431606292725 + Ansi 2 Color - isTerminal - - name - autoLogId - nonterminalContext - 0 + Blue Component + 0.3144466675 + Green Component + 0.55576569570000001 + Red Component + 0.49473804389999998 + Ansi 3 Color - isTerminal - - name - badge - nonterminalContext - 0 + Blue Component + 0.40392156862745099 + Green Component + 0.70980392156862748 + Red Component + 0.89803921568627454 + Ansi 4 Color - isTerminal - - name - tab.tmuxWindowName - nonterminalContext - 0 + Blue Component + 0.73333333329999995 + Green Component + 0.59999999999999998 + Red Component + 0.42352941179999998 + Ansi 5 Color - isTerminal - - name - tab - nonterminalContext - 2 + Blue Component + 0.52344669809931299 + Green Component + 0.30697798579568808 + Red Component + 0.62333851809954743 + Ansi 6 Color - isTerminal - - name - tmuxStatusLeft - nonterminalContext - 0 + Blue Component + 0.8118151991 + Green Component + 0.83853216239999995 + Red Component + 0.49031879989999999 + Ansi 7 Color - isTerminal - - name - autoNameFormat - nonterminalContext - 0 + Blue Component + 0.81568628549575806 + Green Component + 0.81568628549575806 + Red Component + 0.81568628549575806 + Ansi 8 Color - isTerminal - - name - autoName - nonterminalContext - 0 + Blue Component + 0.31372550129890442 + Green Component + 0.31372550129890442 + Red Component + 0.31372550129890442 + Ansi 9 Color - isTerminal - - name - terminalWindowName - nonterminalContext - 0 + Blue Component + 0.2588235438 + Green Component + 0.25490197539999998 + Red Component + 0.67450982329999998 + BM Growl + + Background Color - isTerminal - - name - creationTimeString - nonterminalContext - 0 + Blue Component + 0.1283406391402715 + Green Component + 0.1283406391402715 + Red Component + 0.1283406391402715 + Background Image Location + + Badge Color - isTerminal - - name - commandLine - nonterminalContext - 0 + Alpha Component + 0.5 + Blue Component + 0.0 + Color Space + sRGB + Green Component + 0.1491314172744751 + Red Component + 1 + Blink Allowed + + Blinking Cursor + + Blur + + Bold Color - isTerminal - - name - jobPid - nonterminalContext - 0 - - - isTerminal - - name - pid - nonterminalContext - 0 - - - 16 - - - isTerminal - - name - currentTab.currentSession.presentationName - nonterminalContext - 0 - - - isTerminal - - name - currentTab.iterm2.localhostName - nonterminalContext - 0 - - - isTerminal - - name - style - nonterminalContext - 0 - - - isTerminal - - name - frame - nonterminalContext - 0 - - - isTerminal - - name - currentTab.currentSession.pid - nonterminalContext - 0 - - - isTerminal - - name - currentTab.currentSession.terminalWindowName - nonterminalContext - 0 - - - isTerminal - - name - currentTab.currentSession.terminalIconName - nonterminalContext - 0 - - - isTerminal - - name - currentTab - nonterminalContext - 2 - - - isTerminal - - name - currentTab.currentSession - nonterminalContext - 0 - - - isTerminal - - name - currentTab.window - nonterminalContext - 0 - - - isTerminal - - name - id - nonterminalContext - 0 - - - isTerminal - - name - currentTab.currentSession.name - nonterminalContext - 0 - - - isTerminal - - name - titleOverride - nonterminalContext - 0 - - - isTerminal - - name - currentTab.currentSession.commandLine - nonterminalContext - 0 - - - isTerminal - - name - currentTab.currentSession.path - nonterminalContext - 0 - - - isTerminal - - name - currentTab.currentSession.hostname - nonterminalContext - 0 - - - isTerminal - - name - currentTab.currentSession.tty - nonterminalContext - 0 - - - isTerminal - - name - currentTab.currentSession.username - nonterminalContext - 0 - - - isTerminal - - name - iterm2 - nonterminalContext - 4 - - - isTerminal - - name - titleOverrideFormat - nonterminalContext - 0 - - - isTerminal - - name - currentTab.currentSession.jobName - nonterminalContext - 0 - - - 2 - - - isTerminal - - name - currentSession.commandLine - nonterminalContext - 0 - - - isTerminal - - name - currentSession.terminalIconName - nonterminalContext - 0 - - - isTerminal - - name - tmuxWindowTitle - nonterminalContext - 0 - - - isTerminal - - name - currentSession.presentationName - nonterminalContext - 0 - - - isTerminal - - name - iterm2.localhostName - nonterminalContext - 0 - - - isTerminal - - name - tmuxWindowName - nonterminalContext - 0 - - - isTerminal - - name - window - nonterminalContext - 16 - - - isTerminal - - name - currentSession.tty - nonterminalContext - 0 + Blue Component + 0.81568628549575806 + Green Component + 0.81568628549575806 + Red Component + 0.81568628549575806 + Bound Hosts + + Character Encoding + 4 + Close Sessions On End + + Columns + 80 + Command + + Cursor Color - isTerminal - - name - currentSession.jobName - nonterminalContext - 0 + Blue Component + 0.81568628549575806 + Green Component + 0.81568628549575806 + Red Component + 0.81568628549575806 + Cursor Guide Color - isTerminal - - name - currentSession.name - nonterminalContext - 0 + Alpha Component + 0.25 + Blue Component + 1 + Color Space + sRGB + Green Component + 0.9268307089805603 + Red Component + 0.70213186740875244 + Cursor Text Color - isTerminal - - name - window - nonterminalContext - 0 + Blue Component + 0.08235294371843338 + Green Component + 0.08235294371843338 + Red Component + 0.08235294371843338 + Cursor Type + 1 + Custom Command + No + Custom Directory + Recycle + Default Bookmark + No + Description + Default + Disable Smcup Rmcup + + Disable Window Resizing + + Draw Powerline Glyphs + + Flashing Bell + + Foreground Color - isTerminal - - name - id - nonterminalContext - 0 + Blue Component + 0.81568628549575806 + Green Component + 0.81568628549575806 + Red Component + 0.81568628549575806 + Guid + 0A533B47-5E52-4663-AAD7-F511F137A06F + Has Hotkey + + Horizontal Spacing + 0.87 + Idle Code + 0 + Jobs to Ignore + + rlogin + ssh + slogin + telnet + + Keyboard Map - isTerminal - - name - titleOverride - nonterminalContext - 0 + 0x2a-0x200000 + + Action + 12 + Text + * + + 0x2b-0x200000 + + Action + 12 + Text + + + + 0x2d-0x200000 + + Action + 12 + Text + - + + 0x2d-0x40000 + + Action + 11 + Text + 0x1f + + 0x2e-0x200000 + + Action + 12 + Text + . + + 0x2f-0x200000 + + Action + 12 + Text + / + + 0x3-0x200000 + + Action + 11 + Text + 0xd + + 0x30-0x200000 + + Action + 12 + Text + 0 + + 0x31-0x200000 + + Action + 12 + Text + 1 + + 0x32-0x200000 + + Action + 12 + Text + 2 + + 0x32-0x40000 + + Action + 11 + Text + 0x00 + + 0x33-0x200000 + + Action + 12 + Text + 3 + + 0x33-0x40000 + + Action + 11 + Text + 0x1b + + 0x34-0x200000 + + Action + 12 + Text + 4 + + 0x34-0x40000 + + Action + 11 + Text + 0x1c + + 0x35-0x200000 + + Action + 12 + Text + 5 + + 0x35-0x40000 + + Action + 11 + Text + 0x1d + + 0x36-0x200000 + + Action + 12 + Text + 6 + + 0x36-0x40000 + + Action + 11 + Text + 0x1e + + 0x37-0x200000 + + Action + 12 + Text + 7 + + 0x37-0x40000 + + Action + 11 + Text + 0x1f + + 0x38-0x200000 + + Action + 12 + Text + 8 + + 0x38-0x40000 + + Action + 11 + Text + 0x7f + + 0x39-0x200000 + + Action + 12 + Text + 9 + + 0x7f-0x100000 + + Action + 11 + Text + 0x15 + + 0x7f-0x80000 + + Action + 11 + Text + 0x1b 0x7f + + 0xf700-0x220000 + + Action + 10 + Text + [1;2A + + 0xf700-0x240000 + + Action + 10 + Text + [1;5A + + 0xf700-0x260000 + + Action + 10 + Text + [1;6A + + 0xf701-0x220000 + + Action + 10 + Text + [1;2B + + 0xf701-0x240000 + + Action + 10 + Text + [1;5B + + 0xf701-0x260000 + + Action + 10 + Text + [1;6B + + 0xf702-0x220000 + + Action + 10 + Text + [1;2D + + 0xf702-0x240000 + + Action + 10 + Text + [1;5D + + 0xf702-0x260000 + + Action + 10 + Text + [1;6D + + 0xf702-0x280000 + + Action + 10 + Text + b + + 0xf702-0x300000 + + Action + 11 + Text + 0x1 + + 0xf703-0x220000 + + Action + 10 + Text + [1;2C + + 0xf703-0x240000 + + Action + 10 + Text + [1;5C + + 0xf703-0x260000 + + Action + 10 + Text + [1;6C + + 0xf703-0x280000 + + Action + 10 + Text + f + + 0xf703-0x300000 + + Action + 11 + Text + 0x5 + + 0xf704-0x20000 + + Action + 10 + Text + [1;2P + + 0xf705-0x20000 + + Action + 10 + Text + [1;2Q + + 0xf706-0x20000 + + Action + 10 + Text + [1;2R + + 0xf707-0x20000 + + Action + 10 + Text + [1;2S + + 0xf708-0x20000 + + Action + 10 + Text + [15;2~ + + 0xf709-0x20000 + + Action + 10 + Text + [17;2~ + + 0xf70a-0x20000 + + Action + 10 + Text + [18;2~ + + 0xf70b-0x20000 + + Action + 10 + Text + [19;2~ + + 0xf70c-0x20000 + + Action + 10 + Text + [20;2~ + + 0xf70d-0x20000 + + Action + 10 + Text + [21;2~ + + 0xf70e-0x20000 + + Action + 10 + Text + [23;2~ + + 0xf70f-0x20000 + + Action + 10 + Text + [24;2~ + + 0xf728-0x0 + + Action + 11 + Text + 0x4 + + 0xf728-0x80000 + + Action + 10 + Text + d + + 0xf729-0x20000 + + Action + 10 + Text + [1;2H + + 0xf729-0x40000 + + Action + 10 + Text + [1;5H + + 0xf72b-0x20000 + + Action + 10 + Text + [1;2F + + 0xf72b-0x40000 + + Action + 10 + Text + [1;5F + + 0xf739-0x0 + + Action + 13 + Text + + + Link Color - isTerminal - - name - currentSession.username - nonterminalContext - 0 - - - isTerminal - - name - currentSession.path - nonterminalContext - 0 - - - isTerminal - - name - iterm2 - nonterminalContext - 4 - - - isTerminal - - name - titleOverrideFormat - nonterminalContext - 0 - - - isTerminal - - name - currentSession.hostname - nonterminalContext - 0 - - - isTerminal - - name - currentSession.terminalWindowName - nonterminalContext - 0 - - - isTerminal - - name - currentSession.pid - nonterminalContext - 0 - - - isTerminal - - name - tmuxWindow - nonterminalContext - 0 - - - isTerminal - - name - currentSession - nonterminalContext - 1 - - - isTerminal - - name - currentSession - nonterminalContext - 0 - - - 4 - - - isTerminal - - name - pid - nonterminalContext - 0 + Alpha Component + 1 + Blue Component + 0.73423302173614502 + Color Space + sRGB + Green Component + 0.35916060209274292 + Red Component + 0.0 + Mouse Reporting + + Name + Monitor Profile + Non Ascii Font + Monaco 12 + Non-ASCII Anti Aliased + + Normal Font + FiraCodeNerdFontComplete-Retina 17 + Open Toolbelt + + Option Key Sends + 0 + Prompt Before Closing 2 + 2 + Right Option Key Sends + 0 + Rows + 25 + Screen + -1 + Scrollback Lines + 0 + Scrollback With Status Bar + + Selected Text Color - isTerminal - - name - localhostName - nonterminalContext - 0 + Blue Component + 0.81568628549575806 + Green Component + 0.81568628549575806 + Red Component + 0.81568628549575806 + Selection Color - isTerminal - - name - effectiveTheme - nonterminalContext - 0 + Blue Component + 0.18823529779911041 + Green Component + 0.18823529779911041 + Red Component + 0.18823529779911041 - - - NoSyncTimeOfFirstLaunchOfVersionWithTip - 562732219.29684103 + Send Code When Idle + + Shortcut + 2 + Silence Bell + + Sync Title + + Tags + + Terminal Type + xterm-256color + Thin Strokes + 4 + Transparency + 0.0 + Unlimited Scrollback + + Use Bold Font + + Use Bright Bold + + Use Italic Font + + Use Non-ASCII Font + + Vertical Spacing + 1.0600000000000001 + Visual Bell + + Window Type + 0 + Working Directory + /Users/shubham + + + PMPrintingExpandedStateForPrint2 + PasteSpecialChunkDelay 0.01 PasteSpecialChunkSize @@ -1816,33 +1873,23 @@ kNextWindowPointerAction - PrefsCustomFolder - /Users/shubham/dotfiles/iterm2 - SUAutomaticallyUpdate + Print In Black And White - SUEnableAutomaticChecks + ShowFullScreenTabBar - SUFeedAlternateAppNameKey - iTerm - SUFeedURL - https://iterm2.com/appcasts/final_new.xml?shard=21 - SUHasLaunchedBefore + SmartPlacement - SULastCheckTime - 2019-08-05T20:19:51Z - SUSendProfileInfo + SoundForEsc - ShowFullScreenTabBar - + SplitPaneDimmingAmount + 0.224149490248227 TabStyleWithAutomaticOption 4 - UKCrashReporterLastCrashReportDate - 1556773248 + VisualIndicatorForEsc + WordCharacters /-+\~_. findMode_iTerm 0 - iTerm Version - 3.3.0 diff --git a/nvim/colorschemes.vim b/nvim/colorschemes.vim index 4aa3b0a..0b9a750 100644 --- a/nvim/colorschemes.vim +++ b/nvim/colorschemes.vim @@ -1,5 +1,7 @@ " color janah -colorscheme hybrid_material set background=dark "Set background to dark let g:hybrid_custom_term_colors = 1 let g:hybrid_reduced_contrast = 1 " Remove this line if using the default palette. +let g:enable_bold_font = 1 +let g:enable_italic_font = 1 +colorscheme hybrid_material diff --git a/nvim/init.vim b/nvim/init.vim index 1a2d538..70b1de6 100644 --- a/nvim/init.vim +++ b/nvim/init.vim @@ -1,7 +1,7 @@ " set t_Co=256 "enable 256 colors source ~/.config/nvim/plugins_list.vim -source ~/.config/nvim/colorschemes.vim source ~/.config/nvim/plugin_settings.vim source ~/.config/nvim/abbrev.vim source ~/.config/nvim/key_mappings.vim source ~/.config/nvim/vim_settings.vim +source ~/.config/nvim/colorschemes.vim diff --git a/nvim/plugin_settings.vim b/nvim/plugin_settings.vim index 3142d54..daa6a7d 100644 --- a/nvim/plugin_settings.vim +++ b/nvim/plugin_settings.vim @@ -1,19 +1,10 @@ +let g:loaded_perl_provider = 0 +let g:python3_host_prog = '/usr/local/bin/python3' let g:indentLine_setColors = 0 let g:indentLine_char = '┆' let g:loaded_sql_completion = 0 "sql completion turn off let g:omni_sql_no_default_maps = 1 "sql completion turn off let g:rspec_command = "AsyncRun bin/rspec {spec}" "Vim rspec settings -"Deoplete and ternjs settings -let g:deoplete#enable_at_startup = 1 -let g:deoplete#enable_ignore_case = 1 -let g:deoplete#enable_smart_case = 1 -let g:deoplete#enable_camel_case = 1 -let g:deoplete#enable_refresh_always = 1 -let g:deoplete#max_abbr_width = 0 -let g:deoplete#max_menu_width = 0 -let g:deoplete#omni#input_patterns = get(g:,'deoplete#omni#input_patterns',{}) -call deoplete#custom#source('_', 'matchers', ['matcher_full_fuzzy']) -let g:deoplete#sources#tss#javascript_support = 1 let g:neomake_javascript_enabled_makers = ['eslint'] let g:asyncrun_open = 8 @@ -41,6 +32,11 @@ let g:airline_powerline_fonts = 1 "enabling displaying index of the buffer. let g:airline#extensions#tabline#buffer_idx_mode = 1 +"vim-terraform settings +let g:terraform_align = 1 +let g:terraform_fmt_on_save = 1 +let g:terraform_fold_sections = 1 + " run :GoBuild or :GoTestCompile based on the go file function! s:build_go_files() let l:file = expand('%') @@ -51,3 +47,57 @@ function! s:build_go_files() endif endfunction autocmd FileType go nmap b :call build_go_files() + +" =============================== Settings for ddc plugin========== +" Customize global settings + +" You must set the default ui. +" NOTE: native ui +" https://github.com/Shougo/ddc-ui-native +call ddc#custom#patch_global('ui', 'native') + +" Use around source. +" https://github.com/Shougo/ddc-source-around +call ddc#custom#patch_global('sources', ['around']) + +" Use matcher_head and sorter_rank. +" https://github.com/Shougo/ddc-matcher_head +" https://github.com/Shougo/ddc-sorter_rank +call ddc#custom#patch_global('sourceOptions', #{ + \ _: #{ + \ matchers: ['matcher_head'], + \ sorters: ['sorter_rank']}, + \ }) + +" Change source options +call ddc#custom#patch_global('sourceOptions', #{ + \ around: #{ mark: 'A' }, + \ }) +call ddc#custom#patch_global('sourceParams', #{ + \ around: #{ maxSize: 500 }, + \ }) + +" Customize settings on a filetype +call ddc#custom#patch_filetype(['c', 'cpp'], 'sources', + \ ['around', 'clangd']) +call ddc#custom#patch_filetype(['c', 'cpp'], 'sourceOptions', #{ + \ clangd: #{ mark: 'C' }, + \ }) +call ddc#custom#patch_filetype('markdown', 'sourceParams', #{ + \ around: #{ maxSize: 100 }, + \ }) + +" Mappings + +" : completion. +inoremap +\ pumvisible() ? '' : +\ (col('.') <= 1 getline('.')[col('.') - 2] =~# '\s') ? +\ '' : ddc#map#manual_complete() + +" : completion back. +inoremap pumvisible() ? '' : '' + +" Use ddc. +call ddc#enable() +" =============================== Settings for ddc plugin========== diff --git a/nvim/plugins_list.vim b/nvim/plugins_list.vim index 840310f..e151278 100644 --- a/nvim/plugins_list.vim +++ b/nvim/plugins_list.vim @@ -33,10 +33,12 @@ Plug 'nsf/gocode', { 'rtp': 'nvim', 'do': '~/.config/nvim/plugged/gocode/nvim/sy Plug 'mxw/vim-jsx' Plug 'pangloss/vim-javascript' Plug 'alvan/vim-closetag' -Plug 'Shougo/deoplete.nvim' ", { 'do': function('DoRemote') } Plug 'vim-scripts/AnsiEsc.vim' +Plug 'Shougo/ddc.vim' +Plug 'vim-denops/denops.vim' Plug 'skywind3000/asyncrun.vim' Plug 'SirVer/ultisnips' +Plug 'github/copilot.vim' " On-demand loading Plug 'scrooloose/nerdtree', { 'on': 'NERDTreeToggle' } diff --git a/nvim/vim_settings.vim b/nvim/vim_settings.vim index e0c621c..9d67769 100644 --- a/nvim/vim_settings.vim +++ b/nvim/vim_settings.vim @@ -11,13 +11,13 @@ set mouse=a "enabl set wildmode=longest,list,full "bash-like tab completion. set wildmenu "first tab completes, second provides a list, third cycles through the options -"relative line numbers start -set number relativenumber -augroup numbertoggle - autocmd! - autocmd BufEnter,FocusGained,InsertLeave * set relativenumber - autocmd BufLeave,FocusLost,InsertEnter * set norelativenumber -augroup END +" relative line numbers start +" set number relativenumber +" augroup numbertoggle +" autocmd! +" autocmd BufEnter,FocusGained,InsertLeave * set relativenumber +" autocmd BufLeave,FocusLost,InsertEnter * set norelativenumber +" augroup END " relative line number end set wrap diff --git a/setup.yml b/setup.yml index cb49515..07e663b 100644 --- a/setup.yml +++ b/setup.yml @@ -5,9 +5,9 @@ tasks: - - name: Tap caskroom/fonts for powerline fonts - homebrew_tap: - name: homebrew/cask-fonts + - name: Tap caskroom/fonts for powerline fonts + homebrew_tap: + name: homebrew/cask-fonts # - name: Tap caskroom/versions for edge versions # homebrew_tap: @@ -15,7 +15,7 @@ - name: Install fonts homebrew_cask: - name: font-firacode-nerd-font + name: font-fira-code-nerd-font - name: Install neovim homebrew: diff --git a/short-dir.zsh b/short-dir.zsh index 140c6c3..f69d30b 100644 --- a/short-dir.zsh +++ b/short-dir.zsh @@ -1,12 +1,12 @@ -ehq=~/src/btt/ehq -dehq=ehq_v2.unicorn_1 -drep=ehq_reporting.puma_1 -ddb=ehq_db_1 -ehqp=~/src/btt/ehq/participation -dbon=ehq_bonfire_1 -dsql=ehq_db_1 -dweb=ehq_webpack.dev_1 -dkiq=ehq_v2.sidekiq_1 dfl=~/dotfiles -dng=ehq_nginx_1 -dmod=ehq_modportal.unicorn_1 +zs=~/src/zeta/ +zso=~/src/others/ +zg=~/src/zeta/github.com/ +zcc=~/src/zeta/velos-tf/velos-configstore-client/ +zc=~/src/zeta/velos-tf/velos-zone-config/ +zt=~/src/zeta/velos-tf/ops-infra-velos/ +vd=~/src/zeta/velos-tf/tekton-pipelines-demo/demo-tf-automation/ +ci=~/src/zeta/rose-ci/rose-ci +cis=~/src/zeta/rose-ci/rose-ci-seed +cic=~/src/zeta/rose-ci/roseci-build-configs +rd=~/src/zeta/random/