Skip to content

Instantly share code, notes, and snippets.

@oshalygin
Created May 17, 2020 02:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save oshalygin/90ecab2a405ce8985d03490d109e2d49 to your computer and use it in GitHub Desktop.
Save oshalygin/90ecab2a405ce8985d03490d109e2d49 to your computer and use it in GitHub Desktop.
// Place your key bindings in this file to overwrite the defaults
[
{
"key": "shift+cmd+f",
"command": "editor.action.format",
"when": "editorTextFocus"
},
{
"key": "shift+cmd+f",
"command": "editor.action.formatDocument",
"when": "editorHasDocumentFormattingProvider && editorTextFocus && !editorReadonly"
},
{
"key": "alt+space",
"command": "editor.action.triggerSuggest",
"when": "editorTextFocus"
},
{
"key": "ctrl+r",
"command": "workbench.action.quickOpen"
},
{
"key": "cmd+`",
"command": "workbench.action.terminal.toggleTerminal"
},
{
"key": "cmd+e",
"command": "workbench.action.quickOpenNavigateNext",
"when": "inQuickOpen"
},
{
"key": "cmd+1",
"command": "workbench.action.toggleSidebarVisibility"
},
{
"key": "cmd+9",
"command": "workbench.view.git"
},
{
"key": "ctrl+a",
"command": "cursorHome",
"when": "editorTextFocus"
},
{
"key": "ctrl+e",
"command": "cursorEnd",
"when": "editorTextFocus"
},
{
"key": "alt+b",
"command": "cursorLeft",
"when": "editorTextFocus"
},
{
"key": "alt+f",
"command": "cursorRight",
"when": "editorTextFocus"
},
{
"key": "shift+cmd+s",
"command": "rest-client.request",
"when": "editorTextFocus && editorLangId == 'plaintext'"
},
{
"key": "alt+cmd+r",
"command": "-rest-client.request",
"when": "editorTextFocus && editorLangId == 'plaintext'"
},
{
"key": "cmd+enter",
"command": "editor.action.goToTypeDefinition"
},
{
"key": "shift+cmd+f",
"command": "-workbench.view.search",
"when": "!searchViewletVisible"
},
{
"key": "shift+cmd+f",
"command": "-search.action.focusActiveEditor",
"when": "searchInputBoxFocus && searchViewletVisible"
},
{
"key": "shift+cmd+f",
"command": "-workbench.action.findInFiles",
"when": "!searchInputBoxFocus"
},
{
"key": "shift+alt+f",
"command": "-editor.action.formatDocument",
"when": "editorHasDocumentFormattingProvider && editorTextFocus && !editorReadonly"
},
{
"key": "shift+cmd+f",
"command": "editor.action.formatSelection",
"when": "editorHasDocumentSelectionFormattingProvider && editorHasSelection && editorTextFocus && !editorReadonly"
},
{
"key": "cmd+k cmd+f",
"command": "-editor.action.formatSelection",
"when": "editorHasDocumentSelectionFormattingProvider && editorHasSelection && editorTextFocus && !editorReadonly"
},
{
"key": "cmd+3",
"command": "workbench.view.scm"
},
{
"key": "cmd+e",
"command": "workbench.action.openPreviousRecentlyUsedEditorInGroup"
},
{
"key": "ctrl+shift+tab",
"command": "-workbench.action.openPreviousRecentlyUsedEditorInGroup"
},
{
"key": "cmd+b",
"command": "editor.action.goToDeclaration",
"when": "editorHasDefinitionProvider && editorTextFocus && !isInEmbeddedEditor"
},
{
"key": "f12",
"command": "-editor.action.goToDeclaration",
"when": "editorHasDefinitionProvider && editorTextFocus && !isInEmbeddedEditor"
},
{
"key": "f4",
"command": "editor.action.referenceSearch.trigger",
"when": "editorHasReferenceProvider && editorTextFocus && !inReferenceSearchEditor && !isInEmbeddedEditor"
},
{
"key": "shift+f12",
"command": "-editor.action.referenceSearch.trigger",
"when": "editorHasReferenceProvider && editorTextFocus && !inReferenceSearchEditor && !isInEmbeddedEditor"
},
{
"key": "shift+cmd+e",
"command": "-workbench.view.explorer"
},
{
"key": "cmd+b",
"command": "-workbench.action.toggleSidebarVisibility"
},
{
"key": "shift+cmd+l",
"command": "turboConsoleLog.displayLogMessage"
},
{
"key": "ctrl+alt+l",
"command": "-turboConsoleLog.displayLogMessage"
},
{
"key": "ctrl+space",
"command": "editor.action.autoFix",
"when": "editorTextFocus && !editorReadonly && supportedCodeAction =~ /(\\s|^)quickfix\\b/"
},
{
"key": "alt+cmd+.",
"command": "-editor.action.autoFix",
"when": "editorTextFocus && !editorReadonly && supportedCodeAction =~ /(\\s|^)quickfix\\b/"
},
{
"key": "ctrl+space",
"command": "editor.action.quickFix",
"when": "editorHasCodeActionsProvider && editorTextFocus && !editorReadonly"
},
{
"key": "cmd+.",
"command": "-editor.action.quickFix",
"when": "editorHasCodeActionsProvider && editorTextFocus && !editorReadonly"
},
{
"key": "cmd+enter",
"command": "cosmosDB.executeMongoCommand",
"when": "editorTextFocus && editorLangId == 'mongo'"
},
{
"key": "shift+cmd+'",
"command": "-cosmosDB.executeMongoCommand",
"when": "editorTextFocus && editorLangId == 'mongo'"
}
]
{
"[typescript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[jsonc]": {
"editor.defaultFormatter": "vscode.json-language-features"
},
"[typescriptreact]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"editor.padding.top": 50,
"typescript.preferences.quoteStyle": "single",
// "typescript.reportStyleChecksAsWarnings": true,
"workbench.startupEditor": "newUntitledFile",
"javascript.validate.enable": false,
"editor.semanticHighlighting.enabled": false,
"typescript.experimental.useSeparateSyntaxServer": true,
// Place your settings in this file to overwrite the default settings
//Golang settings:
// "go.useCodeSnippetsOnFunctionSuggest": true,
// "go.autocompleteUnimportedPackages": true,
// "javascript.suggest.autoImports": true,
// // "javascript.preferences.importModuleSpecifier": "relative",
// "go.useCodeSnippetsOnFunctionSuggestWithoutType": true,
// // "go.testOnSave": false,
// "go.docsTool": "gogetdoc",
// "go.useLanguageServer": true,
"editor.gotoLocation.multiple": "goto",
// // "editor.snippetSuggestions": "none",
// // "go.testFlags": [
// // "-v"
// // ],
// // "go.coverOnSave": true,
// // "go.coverageDecorator": "gutter",
// "go.lintTool": "golint",
// // "go.useLanguageServer": true,
// // "go.vetOnSave": "package",
// "go.gotoSymbol.includeImports": true,
// // "go.enableCodeLens": {
// // "references": true,
// // "runtest": true
// // },
// // "go.gocodeAutoBuild": true,
"editor.smoothScrolling": true,
// "editor.minimap.enabled": false,
// "go.liveErrors": {
// "enabled": true,
// "delay": 500
// },
"flow.useNPMPackagedFlow": true,
// // "javascript.implicitProjectConfig.checkJs": true,
"editor.colorDecorators": true,
// // Is git enabled
"git.enabled": true,
// "git.autofetch": true,
// "typescript.tsserver.trace": "off",
// // "typescript.tsdk": "/usr/local/lib/node_modules/typescript/lib",
// "editor.fontFamily": "SFMono-Light",
"editor.fontFamily": "Cascadia Code",
// "editor.fontFamily": "Fira Code",
"editor.fontWeight": "500",
"editor.lineHeight": 24,
"editor.fontLigatures": true,
"editor.cursorBlinking": "expand",
"editor.rulers": [
80,
120
],
// "window.restoreWindows": "all",
// "editor.quickSuggestionsDelay": 1,
// "files.useExperimentalFileWatcher": false,
"editor.insertSpaces": true,
"editor.formatOnType": true,
"explorer.autoReveal": true,
"editor.autoClosingBrackets": "always",
"editor.formatOnPaste": false,
"editor.autoIndent": false,
"extensions.autoUpdate": true,
"explorer.openEditors.visible": 0,
// "files.trimTrailingWhitespace": false,
"editor.tabSize": 2,
// "workbench.editor.highlightModifiedTabs": true,
// "editor.detectIndentation": false,
"files.exclude": {
"**/.git": true,
"**/.svn": true,
"**/.hg": true,
"**/CVS": true,
"**/.DS_Store": true,
"**/tmp": true,
"**/node_modules": true,
"**/bower_components": true,
"**/dist": true,
"**/vendor/**": true,
"**/.classpath": true,
"**/.project": true,
"**/.settings": true,
"**/.factorypath": true
},
"files.watcherExclude": {
"**/.git/objects/**": true,
"**/.git/subtree-cache/**": true,
"**/node_modules/**": true,
"**/tmp/**": true,
"**/bower_components/**": true,
"**/dist/**": true,
"**/vendor/**": true
},
"window.zoomLevel": -1,
"editor.fontSize": 16,
// // "emmet.syntaxProfiles": {
// // "javascript": "jsx"
// // },
// "eslint.enable": true,
// "html.format.unformatted": null,
// "todohighlight.isEnable": true,
// "terminal.integrated.cursorStyle": "line",
// "terminal.integrated.cursorBlinking": true,
"eslint.validate": [
"javascript",
"javascriptreact",
{
"language": "typescript",
"autoFix": true
},
{
"language": "typescriptreact",
"autoFix": true
}
],
"editor.wordWrap": "off",
"workbench.iconTheme": "material-icon-theme",
"[javascript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"typescript.updateImportsOnFileMove.enabled": "never",
"[json]": {
"editor.defaultFormatter": "vscode.json-language-features"
},
"files.associations": {
"*.liquid": "html",
"*.css": "scss",
".stylelintrc": "json"
},
"search.exclude": {
"**/.git": true,
"dist-client/**": true,
"dist-server/**": true,
"**/dist/**": true,
"**/node_modules": true,
"**/bower_components": true,
"**/dist": true,
"**/coverage": true,
"**/.nyc_output": true,
"**/ios": true,
"**/android": true
},
"auto-rename-tag.activationOnLanguage": [
"html",
"xml",
"php",
"javascript",
"javascriptreact"
],
"stylefmt.showErrorMessages": true,
// "editor.formatOnSave": true,
"cSpell.userWords": [
"*.dylib\n",
"AGPL",
"ARTIFACTORY",
"BIAJI",
"Bitbucket",
"CHANGELOG",
"CLIENTSIDE",
"COVID",
"Checkmark",
"Clusterer",
"Derivmatics",
"FHWA",
"Fastlane",
"Favicon",
"Goglang",
"HSTS",
"Heatmap",
"Isparta",
"Kube",
"Kubernetes",
"Millis",
"Nmap",
"Oleg",
"Postgre",
"Reactotron",
"Reselect",
"SERVERSIDE",
"Shalygin",
"Snackbar",
"Stackdriver",
"Stormpath",
"Textfield",
"Tridium",
"Truthy",
"UI's",
"Unimported",
"Unmount",
"abao",
"antd",
"arcgis",
"backend",
"barcode",
"bcet",
"biaja",
"bson",
"camelcase",
"codacy",
"codeclimate",
"cond",
"contrained",
"crosshair",
"cssnext",
"dateMillis",
"deserialize",
"devtools",
"dropdown",
"dropzone",
"dylib",
"entrypoint",
"eslintignore",
"fatih",
"favicons",
"filepath",
"firestore",
"flexbox",
"gcloud",
"gitkeep",
"gmail",
"healthz",
"hoverable",
"ibox",
"inspinia",
"intelligentbuildings",
"intellisense",
"itemprop",
"jfrog",
"jwks",
"kubectl",
"lcov",
"logrus",
"lolz",
"lufthansagroup",
"mdjs",
"middletier",
"middlewares",
"mimetype",
"mongodb",
"monogodb",
"monospace",
"moxios",
"multipart",
"noob",
"oauth",
"olegx",
"ommitable",
"oshalygin",
"ozzo",
"pageviews",
"params",
"performant",
"polyfill",
"postgres",
"prebuild",
"preinstall",
"presentational",
"prestart",
"readonly",
"refetch",
"sada",
"sadasystems",
"selectable",
"sidenav",
"sidepane",
"slimscroll",
"smtp",
"strava",
"struct",
"stylelint",
"subdomain",
"subnav",
"toastr",
"todohighlight",
"transpiled",
"tsdk",
"unmock",
"upsert",
"uuid",
"virtuals",
"vsicons",
"woff"
],
// "npm-intellisense.scanDevDependencies": true,
// "extensions.ignoreRecommendations": false,
// "explorer.confirmDragAndDrop": false,
"workbench.colorCustomizations": {
"activityBarBadge.background": "#FF4081",
"list.activeSelectionForeground": "#FF4081",
"list.inactiveSelectionForeground": "#FF4081",
"list.highlightForeground": "#FF4081",
"scrollbarSlider.activeBackground": "#FF408150",
"editorSuggestWidget.highlightForeground": "#FF4081",
"textLink.foreground": "#FF4081",
"progressBar.background": "#FF4081",
"pickerGroup.foreground": "#FF4081",
"tab.activeBorder": "#FF4081",
"notificationLink.foreground": "#FF4081"
},
"material-icon-theme.folders.theme": "specific",
"material-icon-theme.activeIconPack": "react_redux",
// "gitlens.keymap": "alternate",
// "gitlens.codeLens.recentChange.command": "gitlens.diffWithPrevious",
// "gitlens.codeLens.scopes": ["document"],
// "gitlens.hovers.currentLine.over": "line",
// "gitlens.currentLine.enabled": false,
"gitlens.blame.heatmap.location": "left",
"gitlens.blame.highlight.locations": [
"gutter",
"overview",
"line"
],
"explorer.confirmDelete": false,
"javascript.updateImportsOnFileMove.enabled": "never",
"breadcrumbs.enabled": true,
"[javascriptreact]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[scss]": {
"editor.defaultFormatter": "mrmlnc.vscode-stylefmt"
},
"go.useLanguageServer": true,
"wallaby.startAutomatically": false,
"workbench.colorTheme": "Nord",
"cSpell.enableFiletypes": [
"!json"
],
"[html]": {
"editor.defaultFormatter": "vscode.html-language-features"
},
"[yaml]": {
"editor.defaultFormatter": "redhat.vscode-yaml"
},
// "npm-intellisense.packageSubfoldersIntellisense": true,
// // "editor.wordBasedSuggestions": false,
// // "editor.suggestSelection": "first",
// "gitlens.views.repositories.branches.layout": "list",
// "gitlens.views.repositories.files.layout": "list",
// "gitlens.views.fileHistory.enabled": false,
// "gitlens.views.lineHistory.enabled": false,
// "workbench.iconTheme": "material-icon-theme",
// "[javascript]": {
// "editor.defaultFormatter": "esbenp.prettier-vscode"
// },
// "[javascriptreact]": {
// "editor.defaultFormatter": "esbenp.prettier-vscode"
// },
// "[scss]": {
// "editor.defaultFormatter": "mrmlnc.vscode-stylefmt"
// },
// // "vscode_custom_css.imports": [
// // "file:///Users/oleqshalygin/synthwave84.css"
// // ],
// // "vscode_custom_css.policy": true,
// "[json]": {
// "editor.defaultFormatter": "vscode.json-language-features"
// },
// "[typescript]": {
// "editor.defaultFormatter": "esbenp.prettier-vscode"
// },
// "typescript.validate.enable": true,
// "editor.suggestSelection": "first",
// "vsintellicode.modify.editor.suggestSelection": "automaticallyOverrodeDefaultValue",
// "java.configuration.checkProjectSettingsExclusions": false,
// "[typescriptreact]": {
// "editor.defaultFormatter": "esbenp.prettier-vscode"
// },
// "[jsonc]": {
// "editor.defaultFormatter": "vscode.json-language-features"
// },
// "typescript.tsserver.log": "verbose",
}
# If you come from bash you might have to change your $PATH.
# export PATH=$HOME/bin:/usr/local/bin:$PATH
# if [ "$TMUX" = "" ]; then tmux; fi
# source ~/.fonts/*.sh
export TERM="xterm-256color"
# Path to your oh-my-zsh installation.
export ZSH=/Users/oleqshalygin/.oh-my-zsh
# POWERLINE CONFIG
# POWERLEVEL9K_MODE='awesome-patched'
POWERLEVEL9K_MODE='nerdfont-complete'
POWERLEVEL9K_PROMPT_ON_NEWLINE=true
POWERLEVEL9K_PROMPT_ADD_NEWLINE=true
POWERLEVEL9K_RPROMPT_ON_NEWLINE=true
#################################
zsh_internet_signal(){
#source on quality levels - http://www.wireless-nets.com/resources/tutorials/define_SNR_values.html
#source on signal levels - http://www.speedguide.net/faq/how-to-read-rssisignal-and-snrnoise-ratings-440
local signal=$(airport -I | grep agrCtlRSSI | awk '{print $2}' | sed 's/-//g')
local noise=$(airport -I | grep agrCtlNoise | awk '{print $2}' | sed 's/-//g')
local SNR=$(bc <<<"scale=2; $signal / $noise")
local net=$(curl -D- -o /dev/null -s http://www.google.com | grep HTTP/1.1 | awk '{print $2}')
local color='%F{yellow}'
local symbol="\uf197"
# Excellent Signal (5 bars)
if [[ ! -z "${signal// }" ]] && [[ $SNR -gt .40 ]] ;
then color='%F{blue}' ; symbol="\uf1eb" ;
fi
# Good Signal (3-4 bars)
if [[ ! -z "${signal// }" ]] && [[ ! $SNR -gt .40 ]] && [[ $SNR -gt .25 ]] ;
then color='%F{green}' ; symbol="\uf1eb" ;
fi
# Low Signal (2 bars)
if [[ ! -z "${signal// }" ]] && [[ ! $SNR -gt .25 ]] && [[ $SNR -gt .15 ]] ;
then color='%F{yellow}' ; symbol="\uf1eb" ;
fi
# Very Low Signal (1 bar)
if [[ ! -z "${signal// }" ]] && [[ ! $SNR -gt .15 ]] && [[ $SNR -gt .10 ]] ;
then color='%F{red}' ; symbol="\uf1eb" ;
fi
# No Signal - No Internet
if [[ ! -z "${signal// }" ]] && [[ ! $SNR -gt .10 ]] ;
then color='%F{red}' ; symbol="\uf011";
fi
if [[ -z "${signal// }" ]] && [[ "$net" -ne 200 ]] ;
then color='%F{red}' ; symbol="\uf011" ;
fi
# Ethernet Connection (no wifi, hardline)
if [[ -z "${signal// }" ]] && [[ "$net" -eq 200 ]] ;
then color='%F{blue}' ; symbol="\uf197" ;
fi
echo -n "%{$color%}$symbol " # \f1eb is wifi bars
}
POWERLEVEL9K_MULTILINE_FIRST_PROMPT_PREFIX="%F{blue}\u256D\u2500%f"
POWERLEVEL9K_MULTILINE_LAST_PROMPT_PREFIX="%F{blue}\u2570\uf460%f "
#################################
# POWERLEVEL9K_LEFT_PROMPT_ELEMENTS=(context dir rbenv vcs)
# POWERLEVEL9K_RIGHT_PROMPT_ELEMENTS=(status root_indicator background_jobs history time)
POWERLEVEL9K_CUSTOM_INTERNET_SIGNAL="zsh_internet_signal"
POWERLEVEL9K_CUSTOM_INTERNET_SIGNAL_BACKGROUND="black"
POWERLEVEL9K_LEFT_PROMPT_ELEMENTS=(os_icon dir vcs)
POWERLEVEL9K_RIGHT_PROMPT_ELEMENTS=(status ram battery root_indicator)
# Set name of the theme to load. Optionally, if you set this to "random"
# it'll load a random theme each time that oh-my-zsh is loaded.
# See https://github.com/robbyrussell/oh-my-zsh/wiki/Themes
ZSH_THEME="powerlevel9k/powerlevel9k"
# Set list of themes to load
# Setting this variable when ZSH_THEME=random
# cause zsh load theme from this variable instead of
# looking in ~/.oh-my-zsh/themes/
# An empty array have no effect
# ZSH_THEME_RANDOM_CANDIDATES=( "robbyrussell" "agnoster" )
# Uncomment the following line to use case-sensitive completion.
# CASE_SENSITIVE="true"
# Uncomment the following line to use hyphen-insensitive completion. Case
# sensitive completion must be off. _ and - will be interchangeable.
# HYPHEN_INSENSITIVE="true"
# Uncomment the following line to disable bi-weekly auto-update checks.
# DISABLE_AUTO_UPDATE="true"
# Uncomment the following line to change how often to auto-update (in days).
# export UPDATE_ZSH_DAYS=13
# Uncomment the following line to disable colors in ls.
# DISABLE_LS_COLORS="true"
# Uncomment the following line to disable auto-setting terminal title.
# DISABLE_AUTO_TITLE="true"
# Uncomment the following line to enable command auto-correction.
# ENABLE_CORRECTION="true"
# Uncomment the following line to display red dots whilst waiting for completion.
# COMPLETION_WAITING_DOTS="true"
# Uncomment the following line if you want to disable marking untracked files
# under VCS as dirty. This makes repository status check for large repositories
# much, much faster.
# DISABLE_UNTRACKED_FILES_DIRTY="true"
# Uncomment the following line if you want to change the command execution time
# stamp shown in the history command output.
# The optional three formats: "mm/dd/yyyy"|"dd.mm.yyyy"|"yyyy-mm-dd"
# HIST_STAMPS="mm/dd/yyyy"
# Would you like to use another custom folder than $ZSH/custom?
# ZSH_CUSTOM=/path/to/new-custom-folder
# Which plugins would you like to load? (plugins can be found in ~/.oh-my-zsh/plugins/*)
# Custom plugins may be added to ~/.oh-my-zsh/custom/plugins/
# Example format: plugins=(rails git textmate ruby lighthouse)
# Add wisely, as too many plugins slow down shell startup.
plugins=(git node npm history docker osx git-open)
source $ZSH/oh-my-zsh.sh
export GOPATH="$HOME/go"
export PATH="$HOME/.yarn/bin:$PATH:$GOPATH/bin"
export PATH=$PATH:$HOME/maven/bin
export PATH=$PATH:$HOME/protoc/bin
export ARTIFACTORY_USER=atom.headless
export ARTIFACTORY_PASSWORD=orincon1
export ANDROID_HOME=$HOME/Library/Android/sdk
export PATH=$PATH:$ANDROID_HOME/tools
export PATH=$PATH:$ANDROID_HOME/platform-tools
export JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk-11.0.2.jdk/Contents/Home
export GO111MODULE=on
export GOPRIVATE=github.com/sadasystems/*
source $HOME/dev/zsh-git-prompt/zshrc.sh
export GIT_TERMINAL_PROMPT=1
# User configuration
# export MANPATH="/usr/local/man:$MANPATH"
# You may need to manually set your language environment
# export LANG=en_US.UTF-8
# Preferred editor for local and remote sessions
# if [[ -n $SSH_CONNECTION ]]; then
# export EDITOR='vim'
# else
# export EDITOR='mvim'
# fi
# Compilation flags
# export ARCHFLAGS="-arch x86_64"
# ssh
# export SSH_KEY_PATH="~/.ssh/rsa_id"
# Set personal aliases, overriding those provided by oh-my-zsh libs,
# plugins, and themes. Aliases can be placed here, though oh-my-zsh
# users are encouraged to define aliases within the ZSH_CUSTOM folder.
# For a full list of active aliases, run `alias`.
#
# Example aliases
# alias zshconfig="mate ~/.zshrc"
# alias ohmyzsh="mate ~/.oh-my-zsh"
# MAVEN
# # Start TMUX if it isn't already started
# if [ "$TMUX" = "" ]; then tmux; fisource ~/powerlevel9k/powerlevel9k.zsh-theme
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
# The next line updates PATH for the Google Cloud SDK.
if [ -f '/Users/oleqshalygin/Downloads/google-cloud-sdk/path.zsh.inc' ]; then source '/Users/oleqshalygin/Downloads/google-cloud-sdk/path.zsh.inc'; fi
# The next line enables shell command completion for gcloud.
if [ -f '/Users/oleqshalygin/Downloads/google-cloud-sdk/completion.zsh.inc' ]; then source '/Users/oleqshalygin/Downloads/google-cloud-sdk/completion.zsh.inc'; fi
# Init jenv
if which jenv > /dev/null; then eval "$(jenv init -)"; fi
source <(kubectl completion zsh)
autoload -U +X bashcompinit && bashcompinit
complete -o nospace -C /usr/local/bin/terraform terraform
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment