Skip to content

Commit 0f42536

Browse files
committed
some changes
1 parent 3d772b3 commit 0f42536

File tree

3 files changed

+5
-28
lines changed

3 files changed

+5
-28
lines changed

dotfiles/zshrc

+4
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,12 @@ export PATH="/opt/homebrew/opt/postgresql@12/bin/:$PATH"
5858
export LDFLAGS="-L/opt/homebrew/opt/[email protected]/lib"
5959
export CPPFLAGS="-I/opt/homebrew/opt/[email protected]/include"
6060

61+
# Ansible crash with powershell
62+
export OBJC_DISABLE_INITIALIZE_FORK_SAFETY=YES
63+
6164
source "$ZSH/oh-my-zsh.sh"
6265
source /opt/homebrew/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
6366
# To customize prompt, run `p10k configure` or edit ~/.p10k.zsh.
6467
[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh
6568

69+
export PATH="/opt/homebrew/opt/crowdin@3/bin:$PATH"

install

+1-23
Original file line numberDiff line numberDiff line change
@@ -89,10 +89,7 @@ echo
8989
printf "\\nEnter a name for your Mac. (Leave blank for default: %s)\\n" "$DEFAULT_COMPUTER_NAME"
9090
read -r -p "> " COMPUTER_NAME
9191
export COMPUTER_NAME=${COMPUTER_NAME:-$DEFAULT_COMPUTER_NAME}
92-
93-
printf "\\nEnter a host name for your Mac. (Leave blank for default: %s)\\n" "$DEFAULT_HOST_NAME"
94-
read -r -p "> " HOST_NAME
95-
export HOST_NAME=${HOST_NAME:-$DEFAULT_HOST_NAME}
92+
export HOST_NAME=$OMPUTER_NAME
9693

9794

9895

@@ -178,22 +175,3 @@ code --install-extension ms-python.python
178175
defaults write com.googlecode.iterm2.plist PrefsCustomFolder -string "~/.dotfiles/iterm2"
179176
# Tell iTerm2 to use the custom preferences in the directory
180177
defaults write com.googlecode.iterm2.plist LoadPrefsFromCustomFolder -bool true
181-
182-
# set dock Icons
183-
184-
dockutil --no-restart --remove all
185-
dockutil --no-restart --add "/System/Applications/Launchpad.app"
186-
dockutil --no-restart --add "/Applications/Safari.app"
187-
dockutil --no-restart --add "/Applications/Google Chrome.app"
188-
dockutil --no-restart --add "/Applications/Firefox.app"
189-
dockutil --no-restart --add "/Applications/Thunderbird.app"
190-
dockutil --no-restart --add "/Applications/iTerm.app"
191-
dockutil --no-restart --add "/Applications/Visual Studio Code.app"
192-
dockutil --no-restart --add "/Applications/Sublime Text.app"
193-
dockutil --no-restart --add "/Applications/Sublime Merge.app"
194-
dockutil --no-restart --add "/Applications/Slack.app"
195-
dockutil --no-restart --add "/Applications/Spotify.app"
196-
dockutil --no-restart --add "/System/Applications/App Store.app"
197-
dockutil --no-restart --add "/System/Applications/System Preferences.app"
198-
199-
killall Dock

macos/Brewfile

-5
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,10 @@ brew "wget"
1010
brew "python"
1111
brew "pipenv"
1212
brew "tmux"
13-
brew "dockutil"
1413
brew "tree"
1514
brew "cython"
1615
brew "youtube-dl"
1716

18-
cask 'db-browser-for-sqlite'
1917
cask '1password'
2018
cask 'bartender'
2119
cask 'docker'
@@ -24,12 +22,9 @@ cask 'thunderbird'
2422
cask 'google-chrome'
2523
cask 'slack'
2624
cask 'sublime-text'
27-
cask 'sublime-merge'
2825
cask 'visual-studio-code'
2926
cask 'iterm2'
3027
cask 'vlc'
31-
cask 'postman'
32-
cask 'vagrant'
3328
cask 'wireshark'
3429
cask 'spotify'
3530
cask 'istat-menus'

0 commit comments

Comments
 (0)