Yet Another Dotfiles project.
mkdir -p ~/git/pgreze
git clone --recursive git@github.com:pgreze/dotfiles.git ~/git/pgreze/dotfiles
~/git/pgreze/dotfiles/install.sh
Homebrew:
# https://brew.sh/
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
brew doctor
# Essentials
brew install coreutils bash grep findutils curl wget gzip tree ncdu htop autojump tmux
brew install python3 latex2rtf mkvtoolnix irssi ffmpeg gcc cmake
brew install git gh git-flow git-delta # git-subrepo
brew install exa procs bat ripgrep dust bandwhich miniserve pipx
# Python2 https://stackoverflow.com/a/60345962/5489877
wget https://raw.githubusercontent.com/Homebrew/homebrew-core/86a44a0a552c673a05f11018459c9f5faae3becc/Formula/python@2.rb
brew install python@2.rb && rm python@2.rb
## Alternative with pyenv:
brew install pyenv && pyenv install 2.7.18
# TODO: kibi fdfind ytop licensor
brew install mas # https://github.com/mas-cli/mas 📦 Mac App Store command line interface
mas install 539883307 # LINE
mas install 747648890 # Telegram
brew install robotsandpencils/made/xcodes # Allowing to install/manage several XCode versions.
Homebrew cask:
# Notice: lunar is not working well with my LG ultrawide
brew install --cask shifty keepassxc google-drive the-unarchiver qlmarkdown
brew install --cask obsidian rectangle bartender nordvpn
brew install --cask iterm2 visual-studio-code trailer sloth
# TODO: telegram
brew install --cask android-sdk jetbrains-toolbox jd-gui visualvm # intellij-idea-ce android-studio
brew install --cask transmission slack discord vlc firefox virtualbox android-file-transfer libreoffice skype electrum cyberduck
brew install --cask docker docker-machine
brew install --cask raspberry-pi-imager
# Recommended way
curl -s "https://get.sdkman.io" | bash
for i in gradle kotlin kscript; do sdk install $i;done
sdk list java | grep -E '(tem|zulu)' | grep -E '(8|11|17)'
sdk install java $version
# With homebrew
brew tap homebrew/cask-versions && brew install --cask temurin8 temurin11
Others:
pip3 install pyftpdlib # python3 -m pyftpdlib (expose ftp server)
pip3 install adb-enhanced # https://github.com/ashishb/adb-enhanced
sudo apt install -y bat exa autojump tree
After enabling remote login in Sharing preferences, enable cross auto-login between old and new PCs:
# On previous PC
ssh user@new_pc mkdir .ssh
scp ~/.ssh/config ~/.ssh/id_rsa* user@new_pc:.ssh
ssh-copy-id -i ~/.ssh/id_rsa.pub user@new_pc
# On new PC
ssh-copy-id -i ~/.ssh/id_rsa.pub user@old_pc
- the-art-of-command-line for all shiny tools.
-
featuring:
- https://github.com/ogham/exa
- https://github.com/dalance/procs
- https://github.com/sharkdp/bat
- https://github.com/BurntSushi/ripgrep
- https://github.com/ilai-deutel/kibi
- https://github.com/sharkdp/fd
- https://github.com/bootandy/dust
- https://github.com/sharkdp/hyperfine
- https://github.com/cjbassi/ytop
- https://github.com/imsnif/bandwhich
- https://github.com/svenstaro/miniserve
- https://github.com/raftario/licensor
Manual operation or script based
defaults write -g ApplePressAndHoldEnabled -bool false
Before:
defaults write com.apple.screencapture location "/Users/pgreze/Drive/Screenshots/"
killall SystemUIServer