Skip to content

Commit 984eace

Browse files
committed
Get everything into shape
1 parent 1d664bb commit 984eace

21 files changed

Lines changed: 33 additions & 139 deletions

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ Configurations exist for tools/SDKs like [Android SDK](https://developer.android
2323

2424
- [ZSH](http://www.zsh.org/)
2525
- [Oh My ZSH!](https://ohmyz.sh/)
26+
- [Vim](https://www.vim.org/)
2627

2728
#### Automatic installer
2829

@@ -45,4 +46,4 @@ ln -nsf ../env-available/zshenv-android
4546

4647
Repeat this for any other configuration and restart your terminal session.
4748

48-
_Note: Make sure to check each configuration for sanity and correct paths!_
49+
_Note: Make sure to check each configuration for sanity and correct paths!._

zsh/env-available/zshenv-android

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
#
55
#
66

7-
if [[ $OSTYPE == 'darwin' ]]; then
7+
if [[ `uname -s` == "Darwin" ]]; then
88
if [[ -d "/usr/local/Cellar/android-sdk" ]]; then
99
export ANDROID_SDK_ROOT=/usr/local/Cellar/android-sdk/`ls /usr/local/Cellar/android-sdk`
1010
export ANDROID_HOME=$ANDROID_SDK_ROOT

zsh/env-available/zshenv-asdf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
# ZSHENV ASDF
44
#
55
#
6+
67
if [[ $OSTYPE == 'darwin' ]]; then
78
[[ -d "/usr/local/opt/asdf" ]] && source /usr/local/opt/asdf/asdf.sh
89
elif [[ $OSTYPE == 'linux-gnu' ]]; then

zsh/env-available/zshenv-brew

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
# ZSHENV HOMEBREW
44
#
5+
# NOTE: POTENTIALLY OUTDATED!!!
56
#
67

78
if [[ $OSTYPE == 'darwin' ]]; then
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
#!/usr/bin/env zsh
22

3-
# RUST
3+
# ZSHENV CARGO (Rust)
44
#
55
#
6+
67
[[ -d "$HOME/.cargo" ]] && . "$HOME/.cargo/env"

zsh/env-available/zshenv-emacs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/usr/bin/env zsh
22

3-
# ZSHENV Emacs
3+
# ZSHENV EMACS
44
#
55
# Great read to enable Emacs daemon automatically on Ubuntu:
66
# https://simpleit.rocks/linux/ubuntu/start-emacs-in-ubuntu-the-right-way/
@@ -15,6 +15,9 @@ export EDITOR="emacsclient -t"
1515
# $VISUAL opens in GUI with non-daemon as alternate
1616
export VISUAL="emacsclient -c -a emacs"
1717

18+
# prevent emacs term-mode to print "4m" at the end of each command
19+
[[ `uname -s` == "Darwin" ]] && export TERM=xterm-256color
20+
1821
# Aliases
1922
alias e="emacsclient -t"
2023
alias ec="emacsclient -c"

zsh/env-available/zshenv-general

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,6 @@ export LC_ALL="en_US.UTF-8"
3636
export LANG="en_US.UTF-8"
3737
export LANGUAGE="en_US.UTF-8"
3838

39-
# prevent emacs term-mode to print "4m" at the end of each command
40-
if [[ `uname -s` = "Darwin" ]]; then
41-
export TERM=xterm-256color
42-
fi
43-
4439
# Add ~/bin to our PATH
4540
[[ -d "$HOME/bin" ]] && export PATH=$PATH:$HOME/bin
4641

zsh/env-available/zshenv-go

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
#!/usr/bin/env zsh
22

3-
if [[ $OSTYPE == 'darwin' ]]; then
3+
# ZSHENV GO
4+
#
5+
# NOTE: POTENTIALLY OUTDATED!!!
6+
#
7+
8+
if [[ `uname -s` == "Darwin" ]]; then
49
if [[ -d "/usr/local/Cellar/go" ]]; then
510
export GOROOT=/usr/local/Cellar/go/`ls /usr/local/Cellar/go`/libexec
611
# Enable Go111

zsh/env-available/zshenv-goenv

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@
33
# ZSHENV GOENV
44
#
55
# goenv (https://github.com/syndbg/goenv)
6-
if [[ $OSTYPE == 'darwin' ]]; then
6+
#
7+
8+
if [[ `uname -s` == "Darwin" ]]; then
79
if [[ -f "/usr/local/bin/goenv" ]]; then
810
export GOENV_ROOT="$HOME/.goenv"
911
export PATH="$GOENV_ROOT/bin:$PATH"

zsh/env-available/zshenv-java

Lines changed: 0 additions & 38 deletions
This file was deleted.

0 commit comments

Comments
 (0)