Compatibility with CentOS + improve robustness
* Improve support on Linux (CentOS) * Improve scripts general stability after testing it on Linux * Install no-more-secrets (for fun) * Upgrade some dependencies (sdkman)
This commit is contained in:
26
dot_zshrc
26
dot_zshrc
@ -2,7 +2,7 @@
|
||||
# export PATH=$HOME/bin:/usr/local/bin:$PATH
|
||||
|
||||
# Path to your oh-my-zsh installation.
|
||||
export ZSH="/Users/morganwattiez/.oh-my-zsh"
|
||||
export ZSH="$HOME/.oh-my-zsh"
|
||||
|
||||
# Set name of the theme to load --- if set to "random", it will
|
||||
# load a random theme each time oh-my-zsh is loaded, in which case,
|
||||
@ -92,15 +92,20 @@ source $ZSH/oh-my-zsh.sh
|
||||
# For a full list of active aliases, run `alias`.
|
||||
. ~/.zsh_aliases
|
||||
. ~/.zsh_functions
|
||||
. ~/.scripts/executable_bootstrap.sh
|
||||
|
||||
|
||||
eval "$(fasd --init auto)"
|
||||
unlink "$HOME/Library/Application Support/Code/User/settings.json"
|
||||
ln -s "$HOME/.config/Code/User/settings.json" "$HOME/Library/Application Support/Code/User/settings.json"
|
||||
|
||||
#cm apply
|
||||
|
||||
sh ~/.scripts/resume.sh
|
||||
case "$(uname -s)" in
|
||||
Darwin)
|
||||
echo 'Install Docker Desktop for Mac OS X'
|
||||
~/.scripts/install_docker_for_mac.sh
|
||||
unlink "$HOME/Library/Application Support/Code/User/settings.json"
|
||||
ln -s "$HOME/.config/Code/User/settings.json" "$HOME/Library/Application Support/Code/User/settings.json"
|
||||
sh ~/.scripts/resume.sh
|
||||
;;
|
||||
esac
|
||||
|
||||
# check if we have new jira issues
|
||||
istherenewissues
|
||||
|
||||
@ -109,5 +114,10 @@ export SDKMAN_DIR="$HOME/.sdkman"
|
||||
[[ -s "$SDKMAN_DIR/bin/sdkman-init.sh" ]] && source "$SDKMAN_DIR/bin/sdkman-init.sh"
|
||||
|
||||
#sdk use java 8.0.202-zulu
|
||||
export PATH=$PATH:/usr/local/Cellar/python/3.7.3/Frameworks/Python.framework/Versions/3.7/bin/
|
||||
|
||||
case "$(uname -s)" in
|
||||
Darwin)
|
||||
export PATH=$PATH:/usr/local/Cellar/python/3.7.3/Frameworks/Python.framework/Versions/3.7/bin/
|
||||
;;
|
||||
esac
|
||||
export PATH="/usr/local/opt/grep/libexec/gnubin:$PATH"
|
||||
|
Reference in New Issue
Block a user