- dotfiles
- if you want to send the latest changes of your local area to this repository
This project provides install,update and upgrade apps with one file which is Brewfile. You can use my Brewfile install necessary apps or you can create yours.
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
brew install git
sudo softwareupdate --install-rosetta
git clone https://github.com/keramiozsoy/dotfiles.git ~/.dotfiles
- This section provides install my apps.
brew bundle --file ~/.dotfiles/Brewfile
- If you don't want to use my Brewfile, you can generate yours.
brew bundle dump --describe
- If you want to generate new brewfile which includes all apps installed via "brew install" on your computer.
cd ~/.dotfiles
rm Brewfile.lock.json
rm Brewfile
brew bundle dump --describe
brew bundle --file ~/.dotfiles/Brewfile
cd ~/.dotfiles
git config user.name "YOUR_USER_NAME"
git config user.email YOUR_MAIL_ADDRESS
rm -rvf /Users/$USER/.oh-my-zsh
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
mv ~/.zshrc ~/.dotfiles/.zshrc
ln -s ~/.dotfiles/.zshrc ~/.zshrc
mv ~/.zprofile ~/.dotfiles/.zprofile
ln -s ~/.dotfiles/.zprofile ~/.zprofile
- If you want to use these plugins, you should run step 1 commands.
- If you don't want to use these plugins, jump step 2 which is how i have already updated on .zshrc.
Step 1
git clone https://github.com/zsh-users/zsh-completions.git $ZSH_CUSTOM/plugins/zsh-completions
git clone https://github.com/zsh-users/zsh-apple-touchbar.git $ZSH_CUSTOM/plugins/zsh-apple-touchbar
git clone https://github.com/zsh-users/zsh-autosuggestions.git $ZSH_CUSTOM/plugins/zsh-autosuggestions
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git $ZSH_CUSTOM/plugins/zsh-syntax-highlighting
git clone https://github.com/zsh-users/zsh-history-substring-search.git $ZSH_CUSTOM/plugins/zsh-history-substring-search
Step 2
I explained how i added to use above plugins. If you don't want to use, please put # before each line to set as a comment line in the .zshrc file.
vi ~/.dotfiles/.zshrc
plugins=(
git
dotenv
zsh-autosuggestions
zsh-apple-touchbar
zsh-completions
zsh-syntax-highlighting
zsh-history-substring-search
)
restart your terminal
Let's learn how to manage multiple JDK with jenv tool.
Step 1
- In this step, we will ensure to ready jenv tool.
$ vi .zshrc
export PATH="$HOME/.jenv/bin:$PATH"
eval "$(jenv init -)"
$ source .zshrc
Step 2
- I installed these JDKs via my Brewfile. If you would like to use another JDK you should install by yourself and get their paths where they were installed.
Example
$ jenv add /Library/Java/JavaVirtualMachines/temurin-17.jdk/Contents/Home/
$ jenv versions
Step 3
- Set global java to use as $JAVA_HOME
$ jenv global openjdk64-17.0.1
$ java -version
$ jenv global openjdk64-11.0.13
$ java -version
$ jenv global openjdk64-1.8.0.312
$ java -version
OR
- Set local folder java to use as $JAVA_HOME
$ jenv local openjdk64-17.0.1
$ java -version
Step 4
- Let's check JAVA_HOME can work.
- If it isnt working, enable blow plugins.
$ echo $JAVA_HOME
$ jenv enable-plugin maven
$ jenv enable-plugin export
restart your terminal
$ echo $JAVA_HOME
- I explained how i added to use mvn via my .zshrc
$ mvn --version
$ vi ~/.dotfiles/.zshrc
export M2_HOME=/opt/homebrew/Cellar/maven/3.8.2/libexec
export M2=$M2_HOME/bin
export PATH=$PATH:$M2_HOME/bin
$ source ~/.dotfiles/.zshrc
$ mvn --version
Let's learn how to manage multiple Ruby with rbenv tool.
Step 1
- In this step, we will ensure to ready rbenv tool.
$ vi .zshrc
export PATH="$HOME/.rbenv/bin:$PATH"
eval "$(rbenv init -)"
$ source .zshrc
Let's learn how to manage multiple Python with pyenv tool.
Step 1
- In this step, we will ensure to ready pyenv tool.
$ vi .zshrc
export PATH="$HOME/.pyenv/bin:$PATH"
eval "$(pyenv init -)"
$ source .zshrc
Let's learn how to manage multiple Go with goenv tool.
Step 1
- In this step, we will ensure to ready goenv tool.
$ vi .zshrc
export PATH="$HOME/.goenv/bin:$PATH"
eval "$(goenv init -)"
$ source .zshrc
Plugin | Info |
---|---|
AsciiDoc | Documentation |
Key Promoter X | Intellij Shortcut Helper |
Grazie | Provides intelligent spelling and grammar checks for test that you write in the IDE |
SonarLint | Helps you detect and fix quality issues as you write code |
Google-java-format | Java Formatter |
JPA Buddy | Java Persistence API helper |
Lombok | Java Annotations Helper |
PlantUML Integration | Diagramming Tool |
Makefile Language | helper for Makefile |
VisualVM Launcher | Heap dump, thread dump |
Go Templates | Go language helper |
Kubernetes | Kubernetes helper |
Redis Helper | Redis Console UI |
command + shift + p
Install package -> enter
Type which plugin you want to download.
Plugin | Info | Shortcut |
---|---|---|
Highlight Duplicates | Automatically detect same text on file | Automatically |
Indent XML | xml formatter | Crtl-K Ctrl-F |
Markdown Extended | .md file language-specific highlighter | |
MarkdownLivePreview | offline .md preview plugin | |
MarkdownTOC | auto insert table of content | |
xml2json | convert xml -> json or json -> xml |
Plugin | Info |
---|---|
ms-azuretools.vscode-docker | Docker highligther |
redhat.vscode-yaml | Yaml file linter |
Plugin | Info | Link |
---|---|---|
dark reader | Dark Read | darkreader.org |
json viewiew | Formatter Json | github.com/tulios/json-viewer |
tab wrangler | Less Memmory on browser | addons.mozilla.org/en-US/firefox/addon/tabwrangler |
vimium | Use browser with vim shortcut | github.com/philc/vimium |
$ brew install
- wget ( dependencies will download automatically = gettext, libunistring, libidn2, ca-certificates, openssl@1.1 )
- httpie (dependencies will download automatically = gdbm, mpdecimal, readline, sqlite, xz and python@3.10)
- dive
- helm
- kind
- kubectx
- krew
- maven
- minikube
- mas
- jenv
- rbenv
- pyenv
- goenv
$ brew install --cask
- brave-browser
- dbeaver-community
- tableplus
- intellij-idea-ce
- postman
- sublime-text
- the-unarchiver
- vlc
- clipy
- calibre
- docker
- iterm2
- meld
- rectangle
- temurin
- temurin8
- temurin11
- adoptopenjdk/openjdk/adoptopenjdk8
- adoptopenjdk/openjdk/adoptopenjdk11
- vienna
- visualvm
- virtualbox
- virtualbox-extension-pack
- lens
- loom
- zoom
$$ I haven't installed yet
- brew install --cask soapui --noquarantine
- brew install --cask osxfuse
- brew install ntfs-3g (windows harddisk connect)
- mas install 605732865 # rss bot