Skip to content

Commit a911cc3

Browse files
committed
adjust files, add mac
1 parent 995d3c7 commit a911cc3

File tree

4 files changed

+63
-95
lines changed

4 files changed

+63
-95
lines changed

.zshrc

+59-6
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,59 @@
1-
POWERLEVEL9K_MODE='nerdfont-complete'
2-
source ~/powerlevel9k/powerlevel9k.zsh-theme
3-
POWERLEVEL9K_LEFT_PROMPT_ELEMENTS=(ssh dir vcs newline status)
4-
POWERLEVEL9K_RIGHT_PROMPT_ELEMENTS=()
5-
POWERLEVEL9K_PROMPT_ADD_NEWLINE=true
6-
alias ls='ls -G'
1+
# If you come from bash you might have to change your $PATH.
2+
# export PATH=$HOME/bin:/usr/local/bin:$PATH
3+
4+
# Path to your oh-my-zsh installation.
5+
export ZSH="$HOME/.oh-my-zsh"
6+
7+
# Set name of the theme to load --- if set to "random", it will
8+
# load a random theme each time oh-my-zsh is loaded, in which case,
9+
# to know which specific one was loaded, run: echo $RANDOM_THEME
10+
# See https://github.com/ohmyzsh/ohmyzsh/wiki/Themes
11+
ZSH_THEME="robbyrussell"
12+
ENABLE_CORRECTION="true"
13+
plugins=(git zsh-autosuggestions zsh-syntax-highlighting)
14+
15+
source $ZSH/oh-my-zsh.sh
16+
17+
export NVM_DIR="$HOME/.nvm"
18+
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
19+
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
20+
21+
export PATH="$HOME/.poetry/bin:$PATH"
22+
23+
# Java
24+
export JAVA_HOME=/Library/Java/JavaVirtualMachines/zulu-17.jdk/Contents/Home
25+
export PATH=$PATH:$JAVA_HOME/bin
26+
27+
# Android Paths
28+
export ANDROID_HOME=$HOME/Library/Android/sdk
29+
export PATH=$PATH:$ANDROID_HOME/emulator
30+
export PATH=$PATH:$ANDROID_HOME/platform-tools
31+
32+
# Python
33+
export PATH="$HOME/.pyenv/shims:$PATH"
34+
35+
# bun completions
36+
[ -s "/Users/shridhar/.bun/_bun" ] && source "/Users/shridhar/.bun/_bun"
37+
38+
# bun
39+
export BUN_INSTALL="$HOME/.bun"
40+
export PATH="$BUN_INSTALL/bin:$PATH"
41+
42+
# pnpm
43+
export PNPM_HOME="/Users/shridhar/Library/pnpm"
44+
case ":$PATH:" in
45+
*":$PNPM_HOME:"*) ;;
46+
*) export PATH="$PNPM_HOME:$PATH" ;;
47+
esac
48+
# pnpm end
49+
50+
# postgres
51+
export PATH="/opt/homebrew/opt/postgresql@16/bin:$PATH"
52+
53+
# Ruby
54+
export PATH="/opt/homebrew/opt/ruby/bin:$PATH"
55+
# export PATH ="/opt/homebrew/lib/ruby/gems/3.3.0/bin:$PATH"
56+
57+
# Ruby Gems
58+
export GEM_HOME="$HOME/.gem"
59+
export PATH="$GEM_HOME/bin:$PATH"

Preferences.sublime-settings

-41
This file was deleted.

README.md

+1-48
Original file line numberDiff line numberDiff line change
@@ -1,56 +1,9 @@
11
# 💻 Shridhar's Macbook setup.
22

3-
## Dev Stuff:
4-
5-
1. https://www.google.com/chrome/
6-
2. https://www.sublimetext.com/3
7-
3. https://www.iterm2.com/
8-
4. https://brew.sh/
9-
5. Yarn: `brew install yarn`
10-
6. `brew install python3`
11-
12-
### Terminal
13-
14-
https://medium.com/the-code-review/make-your-terminal-more-colourful-and-productive-with-iterm2-and-zsh-11b91607b98c
15-
16-
### :octocat: Git
17-
18-
```
19-
git config --global user.email "[email protected]"
20-
git config --global user.name "Shridhar Gupta"
21-
```
22-
3+
### :octocat: Git
234
```
245
git config --global alias.co checkout
256
git config --global alias.br branch
267
git config --global alias.cm commit
278
git config --global alias.s status
289
```
29-
30-
### Sublime Packages
31-
32-
Link `subl`:
33-
`ln -s "/Applications/Sublime Text.app/Contents/SharedSupport/bin/subl" /usr/local/bin/subl`
34-
35-
- SideBarEnhancements
36-
- BracketHighlighter
37-
- SublimeLinter
38-
`npm install -g eslint`
39-
- SublimeLinter-eslint
40-
- SublimeCodeIntel (`pip3 install --upgrade --pre CodeIntel`)
41-
- GitGutter
42-
- A File Icon
43-
- JSX
44-
- Sass
45-
- Colorsublime
46-
47-
## Productivity Apps:
48-
49-
- Spotify: https://www.spotify.com/us/download/mac/
50-
- Slack: https://slack.com/downloads/mac
51-
- 1Pass: https://1password.com/downloads/mac/
52-
53-
## Utilities
54-
55-
- App Cleaner https://freemacsoft.net/appcleaner/
56-

dotfiles/macos.sh

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
2+
# Drag windows at any point with Ctrl-Opt-Cmd click, from
3+
defaults write -g NSWindowShouldDragOnGesture YES

0 commit comments

Comments
 (0)