Skip to content

Commit

Permalink
edits, temp vs code workaround
Browse files Browse the repository at this point in the history
  • Loading branch information
BytewaveMLP committed Mar 24, 2018
1 parent 161b42c commit f2bce95
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .zshrc
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ if [[ ! -d $HOME/.oh-my-zsh ]]; then
fi

if command -v code >/dev/null 2>&1; then
export EDITOR="code --wait"
export EDITOR="vs-code --wait"
elif command -v vim >/dev/null 2>&1; then
export EDITOR="vim"
else
Expand All @@ -27,6 +27,11 @@ export BROWSER="/usr/bin/google-chrome-stable"
export TERMINAL="termite"
export PAGER="less"

# temporary workaround for corrupted terminfo database
if [ $TERM = "xterm-256color" ]; then
export TERM="xterm"
fi

eval $(luarocks path --bin)

export GOPATH="$(go env GOPATH)"
Expand Down Expand Up @@ -92,7 +97,7 @@ COMPLETION_WAITING_DOTS="true"
# 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 composer zsh-completions colorize ssh-agent zsh-syntax-highlighting)
plugins=(git composer zsh-completions colorize yarn docker-compose ssh-agent zsh-syntax-highlighting)

zstyle :omz:plugins:ssh-agent identities gitlab aur github

Expand Down
3 changes: 3 additions & 0 deletions bin/vs-code
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/bash

code "$@" --ignore-gpu-blacklist

0 comments on commit f2bce95

Please sign in to comment.