From 3041e860e9524006d40e63a529d4f14c61c95bf4 Mon Sep 17 00:00:00 2001 From: George Rawlinson Date: Thu, 30 Mar 2017 15:47:27 +1300 Subject: [PATCH] Add comments to zsh scripts --- zsh/.oh-my-zsh/custom/docker.zsh | 1 + zsh/.oh-my-zsh/custom/go.zsh | 3 +++ zsh/.oh-my-zsh/custom/python.zsh | 2 ++ zsh/.oh-my-zsh/custom/ruby.zsh | 1 + zsh/.oh-my-zsh/custom/rust.zsh | 2 ++ zsh/.oh-my-zsh/custom/steam.zsh | 1 + 6 files changed, 10 insertions(+) create mode 100644 zsh/.oh-my-zsh/custom/python.zsh diff --git a/zsh/.oh-my-zsh/custom/docker.zsh b/zsh/.oh-my-zsh/custom/docker.zsh index 9ed56d6..a188f85 100644 --- a/zsh/.oh-my-zsh/custom/docker.zsh +++ b/zsh/.oh-my-zsh/custom/docker.zsh @@ -1 +1,2 @@ +# Prefer this over adding user to docker group alias docker='sudo docker' diff --git a/zsh/.oh-my-zsh/custom/go.zsh b/zsh/.oh-my-zsh/custom/go.zsh index b3a814a..b19362f 100644 --- a/zsh/.oh-my-zsh/custom/go.zsh +++ b/zsh/.oh-my-zsh/custom/go.zsh @@ -1,2 +1,5 @@ +# Export $GOPATH export GOPATH=$HOME/go + +# Add Go binary directory to $PATH export PATH="$PATH:$GOPATH/bin" diff --git a/zsh/.oh-my-zsh/custom/python.zsh b/zsh/.oh-my-zsh/custom/python.zsh new file mode 100644 index 0000000..ad542e8 --- /dev/null +++ b/zsh/.oh-my-zsh/custom/python.zsh @@ -0,0 +1,2 @@ +# Add pip2/3 binary directory to $PATH +export PATH="$HOME/.local/bin:$PATH" diff --git a/zsh/.oh-my-zsh/custom/ruby.zsh b/zsh/.oh-my-zsh/custom/ruby.zsh index 43d4500..78bb1b2 100644 --- a/zsh/.oh-my-zsh/custom/ruby.zsh +++ b/zsh/.oh-my-zsh/custom/ruby.zsh @@ -1 +1,2 @@ +# Add rubygem binary directory to $PATH export PATH="$PATH:$(ruby -rubygems -e "puts Gem.user_dir")/bin" diff --git a/zsh/.oh-my-zsh/custom/rust.zsh b/zsh/.oh-my-zsh/custom/rust.zsh index 336f240..736beb1 100644 --- a/zsh/.oh-my-zsh/custom/rust.zsh +++ b/zsh/.oh-my-zsh/custom/rust.zsh @@ -1,3 +1,5 @@ +# Export rust-src path for Linux export RUST_SRC_PATH=~/.multirust/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/src +# Add cargo binary directory to $PATH export PATH="$PATH:$HOME/.cargo/bin" diff --git a/zsh/.oh-my-zsh/custom/steam.zsh b/zsh/.oh-my-zsh/custom/steam.zsh index 53c326f..c4f0a20 100644 --- a/zsh/.oh-my-zsh/custom/steam.zsh +++ b/zsh/.oh-my-zsh/custom/steam.zsh @@ -1 +1,2 @@ +# Force Steam to close to tray instead of remaining open export STEAM_FRAME_FORCE_CLOSE=1